- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have worked through the sample code for passing an array of strings between CVF and VB 6 (ArrayOfVBStr)but I am not sure how to get this to work with vb.net.
Steve indicated that with IVF there is a module with tools to do this. How about with CVF6.6?
Thanks,
Erik
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same thing, really. You need to learn how to decode SafeArrays. Module DFCOM contains the routines to do this. There is a SAFEARRAY sample which may be of help. The hardest part, I found, was figuring out what syntax to use on the VB side to get the arrays passed right.
I've attached a sample project for Intel Visual Fortran, adapted from the SAFEARRAY sample but almost completely rewritten. You won't be able to use it directly in CVF, but you can read the .f90 and .vb files to get the idea.
I've attached a sample project for Intel Visual Fortran, adapted from the SAFEARRAY sample but almost completely rewritten. You won't be able to use it directly in CVF, but you can read the .f90 and .vb files to get the idea.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page