56 while ( lastHandle != NULL )
78 memset( dlhandle,
'\0',
sizeof (
struct __dlhandle ) );
80 dlhandle->
hinstLib = LoadLibrary( dllname );
88 lastHandle = dlhandle;
100 strncpy(
errortext,
"No error information", 512 );
118 unsigned int bufferLength = strlen( symbol ) + 2;
119 char *
buffer = (
char *) malloc( bufferLength );
123 strncpy( &buffer[1], symbol, bufferLength - 2 );
124 buffer[bufferLength - 1] =
'\0';
125 retPointer = GetProcAddress( dlhandle->
hinstLib, buffer );
129 return GetProcAddress( dlhandle->
hinstLib, symbol );
const char * lt_dlerror()
int lt_dlmakeresident(lt_dlhandle handle)
struct __dlhandle * previousHandle
void * lt_dlsym(lt_dlhandle dlhandle, const char *symbol)
lt_dlhandle lt_dlopenext(char *dllname)