more pointers
This commit is contained in:
parent
80d17ccf4d
commit
590aae45b1
|
|
@ -131,7 +131,7 @@ bool failed(){
|
||||||
return m_library == 0;
|
return m_library == 0;
|
||||||
}
|
}
|
||||||
FunctionPointer findSymbol( const char* symbol ){
|
FunctionPointer findSymbol( const char* symbol ){
|
||||||
FunctionPointer address = GetProcAddress( m_library, symbol );
|
FunctionPointer address = (FunctionPointer) GetProcAddress( m_library, symbol );
|
||||||
if ( address == 0 ) {
|
if ( address == 0 ) {
|
||||||
globalErrorStream() << "GetProcAddress failed: '" << symbol << "'\n";
|
globalErrorStream() << "GetProcAddress failed: '" << symbol << "'\n";
|
||||||
globalErrorStream() << "GetLastError: " << FormatGetLastError();
|
globalErrorStream() << "GetLastError: " << FormatGetLastError();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user