N
Nayana Ravi
Guest
We have unmanaged 32bit c++ dll and we want to wrap it in COM code which is 64bit and written in VB.net. The unmanaged dll method has parameter with pointer datatype and we are not able to fetch required response from the methods. Also, code behind the dll is unknown
We have tried differnt types of datatypes in VB to match with C++ poniter datatype: WE tried - BYTE(), String,long,arraylist, intptr,uintptr, progress.open$GL.memptr, byte, interger etc..
This is how we import dll and paratmeters are (string, ptr,ptr) and treturn type is long. Issue is with ptr variables Public Shared Function WPStartJob( typAvlista As String, ByRef mPVariabelLista As IntPtr, ByRef mPSubrapportLista As IntPtr) As Long End Function
output of the method(for argument with pointer type) should be list of string values ex. "ListaS_Sub.rpt"
But we are getting null value with all typed tried
Continue reading...
We have tried differnt types of datatypes in VB to match with C++ poniter datatype: WE tried - BYTE(), String,long,arraylist, intptr,uintptr, progress.open$GL.memptr, byte, interger etc..
This is how we import dll and paratmeters are (string, ptr,ptr) and treturn type is long. Issue is with ptr variables Public Shared Function WPStartJob( typAvlista As String, ByRef mPVariabelLista As IntPtr, ByRef mPSubrapportLista As IntPtr) As Long End Function
output of the method(for argument with pointer type) should be list of string values ex. "ListaS_Sub.rpt"
But we are getting null value with all typed tried
Continue reading...