Hi everyone,

I'm using visual studio 2005 and i'm using a third party C++ dll which cannot be directly added as reference in my project.... A sample project made in C++ has been provided together with the SDK, however the project i'm doing needs to be in vb.net.


In the dll i'm using there is a method called BioDRV_Enroll which is declared as DWORD BioDRV_Enroll(hWnd, lpReserved)

HWND hWnd <---- Window handle to receive the completion message.
LPVOID lpReserved <----Reserved(null must be set)

This method should return a message know as BIODRV_COMPLETE_ENROLL
and together with that is a WPARAM and LPARAM...

my problem is how to declare it in VB or VB.net for that matter and access those return message after i invoke the function..

Any help would be greatly appreciated as i am new to this programming language..


Thanks and Regards,
ByVal