I
Intermouse
Hi
I keep getting an error:
error C2664: 'GetProcAddress' : cannot convert parameter 1 from 'struct
HINSTANCE__' to 'struct HINSTANCE__ *'
No user-defined-conversion operator available that can perform this
conversion, or the operator cannot be called
My code is:
HINSTANCE hinstWNASPI32;
hinstWNASPI32=LoadLibrary("WNASPI32");
DWORD (*pfnGetASPI32SupportInfo)( VOID );
DWORD (*pfnSendASPI32Command)( LPSRB );
BOOL (*pfnGetASPI32Buffer)(PASPI32BUFF);
BOOL (*pfnFreeASPI32Buffer)(PASPI32BUFF);
BOOL (*pfnTranslateASPI32Address)(PDWORD,PDWORD);
if( !hinstWNASPI32 )
{
MessageBox ("Not loaded");
}
pfnGetASPI32SupportInfo =GetProcAddress ( hinstWNASPI32,
"GetASPI32SupportInfo" );
Can anyone help me......
Mark
VBGUYINOVERHEAD
I keep getting an error:
error C2664: 'GetProcAddress' : cannot convert parameter 1 from 'struct
HINSTANCE__' to 'struct HINSTANCE__ *'
No user-defined-conversion operator available that can perform this
conversion, or the operator cannot be called
My code is:
HINSTANCE hinstWNASPI32;
hinstWNASPI32=LoadLibrary("WNASPI32");
DWORD (*pfnGetASPI32SupportInfo)( VOID );
DWORD (*pfnSendASPI32Command)( LPSRB );
BOOL (*pfnGetASPI32Buffer)(PASPI32BUFF);
BOOL (*pfnFreeASPI32Buffer)(PASPI32BUFF);
BOOL (*pfnTranslateASPI32Address)(PDWORD,PDWORD);
if( !hinstWNASPI32 )
{
MessageBox ("Not loaded");
}
pfnGetASPI32SupportInfo =GetProcAddress ( hinstWNASPI32,
"GetASPI32SupportInfo" );
Can anyone help me......
Mark
VBGUYINOVERHEAD