Rups11

Hi All,

I have interop dll in which there is one method which returns maps - as

interop dll method ; getInfoofFile (

LPSAFEARRAY *varlistOfFilesFoldersToImport // In

LPVOID pMapOfFileNameOrItemIDRevDwProps // Out

)

I am calling this method from Vb.net 2005 , so how to get the out paramater in vb.net application.

Thanks in adavance,

Rups



Re: Common Language Runtime How to pass the datatype of map, struct from interop dll to Vb.Net application.

nobugz

You'd use the ByRef keyword in VB.NET. I'd assume you'd have to declare the argument type "IntPtr".