rls1234
asked on
program to import C header information into VB
I would like to access two DLLs from Visual Basic. There are a very large number of functions to 'declare', so I'm looking for an automated solution - a program which reads header files, and generates a VB .BAS file. Any suggestions?
How these header files look like ?
As XXX said, a sample would be nice... A piece of that file that illustrates the exact syntax for your declarations, and where they're located in the .h file.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
IMHO, in this case the better way is don't declare these functions at all - call them by their names.
See my sample at http://www.freevbcode.com/ShowCode.Asp?ID=1863
Regards
Ark
See my sample at http://www.freevbcode.com/ShowCode.Asp?ID=1863
Regards
Ark