Dear All,
I am trying to convert a VC++ code in VB.NET. The VC++ code I'm tyring to convert is,
Code:
 typedef void * DEV_HANDLE;	
EXTERN_C SDK4OpenDevice (DEV_HANDLE* hDev );

_CHECK(SDK4OpenDevice(&hDev);

When I debug the VC++ code by applying the breakpoint on the function call I'm getting type for "&hdev" as Double pointer(**) and "hdev" as void Pointer.

Now to make the same function call to DLL from VB.NET, I'm not getting what
should be the datatype for handle "hdev".

I have read that passing a variable as "Byref" is equivalent to passing variable as pointer.But i'm not getting how to pass pointer to pointer of a variable in VB.NET.

Can anybody please help me in resolving this issue. I'm struggling with this issue from past 2 days. Please anybody suggest me how it could be accomplished.

Regards,
Susheelss.