G
Guest
The function signature in the unmanaged DLL is as follows.
KPDCStatus KPDCIteratorFind(KPDCIteratorRef inIteratorRef, const char
*inName, KPDCOpaqueRef *outFoundItemRef);
The types are:
KPDCStatus = int
KPDCIteratorRef, KPDCOpaqueRef = void*
I am wrapping it so:
Declare Auto Function KIteratorFind Lib "DCSPro4SLR.dll" Alias
"KPDCIteratorFind" (ByVal inIteratorRef As IntPtr, ByVal inName As String,
ByRef outFoundItemRef As IntPtr) As Integer
I figure inName As String is wrong. How should I do this. VB.Net
KPDCStatus KPDCIteratorFind(KPDCIteratorRef inIteratorRef, const char
*inName, KPDCOpaqueRef *outFoundItemRef);
The types are:
KPDCStatus = int
KPDCIteratorRef, KPDCOpaqueRef = void*
I am wrapping it so:
Declare Auto Function KIteratorFind Lib "DCSPro4SLR.dll" Alias
"KPDCIteratorFind" (ByVal inIteratorRef As IntPtr, ByVal inName As String,
ByRef outFoundItemRef As IntPtr) As Integer
I figure inName As String is wrong. How should I do this. VB.Net