Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29254 Discussions

Creating VB.2005 DLL and Passing Strings to it from IVF.10

Phares__Cliff
Beginner
557 Views

I would like to create a Visual Basic 2005 DLL on a 32 bit Windows Server 2003 OpSys. Using the Visual Basic 2005 DLL is not optional - it is the only automation interface into a 3rd party's application.

I would like to create a IVF.10 DLL which calls this VB.2005 DLL.

I would like to pass this VS.2005 DLL integers, reals and character variables and arrays of each.

I would like to read from this VS.2005 DLL integers, reals and character variables - maybe even character arrays - maybe even structures.

Are there any how-to documents or samples which illustrate this type function ?

Any help would be greatly appreciated.

thanks,

Cliff

0 Kudos
2 Replies
Steven_L_Intel1
Employee
557 Views
There are two provided samples of VB calling Fortran, which is the reverse of what you want. However, some of the concepts are the same as regards passing strings and arrays. When calling VB, you'll want to pay more attention to the VB.NET-Safearrays sample as it demonstrates constructing the kinds of arrays and strings that VB understands.
0 Kudos
Phares__Cliff
Beginner
557 Views
thank you
0 Kudos
Reply