Passing a Handle to a dll
ABC_STATUS ABC_Init(HWND hWnd, UINT messageOffset
);
hWnd is the Handle to window waiting a message.
UINT is the Offset value of message ID.
I'm calling the above unmanaged dll in C# as below:
static
externstring ABC_Init(int hInstDLL,int DLL_MESSAGE_OFFSET);string
status = ABC_Init(2, 3);Actually the first parameter is the handle but i have declared as int.
Tell me how to pass the parameter as a handle from C#.?
Willfin

