M
massimo capetola
I use vb.net 2003 to developp a program for PocketPc 2003.
I have a problem to pass parameters into a function of a C++ dll
Here is my function's declaration in vb.net:
Public Declare Function InitDll lib "Mydll" (ByVal initFile as IntPtr,
ByVal pnumber as long) as long
initFile is a path of a file : for example "\toto\inifile.txt"
How can I convert my string path in a IntPtr type?
I have a problem to pass parameters into a function of a C++ dll
Here is my function's declaration in vb.net:
Public Declare Function InitDll lib "Mydll" (ByVal initFile as IntPtr,
ByVal pnumber as long) as long
initFile is a path of a file : for example "\toto\inifile.txt"
How can I convert my string path in a IntPtr type?