Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

vb.net and cvf string arrays

engineerik
Beginner
525 Views
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
0 Kudos
1 Reply
Steven_L_Intel1
Employee
525 Views
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.
0 Kudos
Reply