55 while ( lastHandle != NULL )
77 memset( dlhandle,
'\0',
sizeof (
struct __dlhandle ) );
79 dlhandle->
hinstLib = LoadLibraryA( dllname );
87 lastHandle = dlhandle;
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';
124 retPointer = GetProcAddress( dlhandle->
hinstLib, buffer );
128 return GetProcAddress( dlhandle->
hinstLib, symbol );
const char * PLCHAR_VECTOR
int lt_dlmakeresident(lt_dlhandle handle)
struct __dlhandle * previousHandle
lt_dlhandle lt_dlopenext(char *dllname)
PLCHAR_VECTOR lt_dlerror()
struct __dlhandle * lt_dlhandle
void * lt_dlsym(lt_dlhandle dlhandle, PLCHAR_VECTOR symbol)