View Full Version : How can I pass an array of strings from Visual Basic to Fortran?
R. T. (Fortran Man)
09-03-2003, 06:14 PM
How can I pass an array of strings from Visual Basic to Fortran?
Lahey Support
09-03-2003, 07:02 PM
Due to the differences in the way strings are represented in Visual Basic and Fortran, you cannot pass an array of strings from VB to Fortran via subroutine argument and expect to receive a meaningful result. If passing the data via file is too slow, you may want to consider passing the data via a pipe (a feature of the windows operating system). See Dan Appleman's "Visual Basic 5.0 Programmer's Guide to the Win32 API." (Bookcode vis_basc_w32, 1540 pages, ISBN 1562764462)
vBulletin® v3.6.8, Copyright ©2000-2012, Jelsoft Enterprises Ltd.