M
marfi95
I'm trying to call methods in a C++ dll from vb.net that is not a .com
component. I've read I can just use regular Declare statements just as
you do in VB6 except that some of the types need to be converted in the
declaration.
Is there any doco somewhere that identifies what needs to be changed in
hte Declare statement ? i.e. long = integer, etc...
Also, I'm having to build the declare statements based on some doco I
have from the DLL. Is there a tool or something that will build the
declare statements for me ?
Ok, one more thing. Some of these methods in the DLL return strings
that were passed by reference as an argument. Is there anything I
should be look out for when using strings, either passed as arguments
by reference and modified in the DLL or just returned from the function
? Seems like I've read somewhere the former that can be a problem.
Many TIA,
Mark
component. I've read I can just use regular Declare statements just as
you do in VB6 except that some of the types need to be converted in the
declaration.
Is there any doco somewhere that identifies what needs to be changed in
hte Declare statement ? i.e. long = integer, etc...
Also, I'm having to build the declare statements based on some doco I
have from the DLL. Is there a tool or something that will build the
declare statements for me ?
Ok, one more thing. Some of these methods in the DLL return strings
that were passed by reference as an argument. Is there anything I
should be look out for when using strings, either passed as arguments
by reference and modified in the DLL or just returned from the function
? Seems like I've read somewhere the former that can be a problem.
Many TIA,
Mark