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
Mattias Sj?gren - 09 Dec 2004 22:23 GMT
>I figure inName As String is wrong.
No it should work.
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.