P
promko
Hi!
I need to call the following unmanged method:
HFCI __cdecl FCICreate( void FAR* pv)
I have written the next managed declaration:
[ DllImport( "cabinet.dll" ) ]
public static extern IntPtr FCICreate(
[ In, Out, MarshalAs( UnmanagedType.LPStruct ) ]
IntPtr pv
);
Now suppore I have class called some_class.
How to pass the instance of that class as pv paramter?
Thanks.
*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
I need to call the following unmanged method:
HFCI __cdecl FCICreate( void FAR* pv)
I have written the next managed declaration:
[ DllImport( "cabinet.dll" ) ]
public static extern IntPtr FCICreate(
[ In, Out, MarshalAs( UnmanagedType.LPStruct ) ]
IntPtr pv
);
Now suppore I have class called some_class.
How to pass the instance of that class as pv paramter?
Thanks.
*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*