77 memset( dlhandle,
'\0',
sizeof (
struct __dlhandle ) );
79 dlhandle->
hinstLib = LoadLibraryA( dllname );
99 strncpy(
errortext,
"No error information", 512 );
117 unsigned int bufferLength = strlen( symbol ) + 2;
118 char *
buffer = (
char *) malloc( bufferLength );
122 strncpy( &
buffer[1], symbol, bufferLength - 2 );
123 buffer[bufferLength - 1] =
'\0';
128 return GetProcAddress( dlhandle->
hinstLib, symbol );