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 );
int lt_dlmakeresident(lt_dlhandle handle)
void * lt_dlsym(lt_dlhandle dlhandle, PLCHAR_VECTOR symbol)
lt_dlhandle lt_dlopenext(char *dllname)
PLCHAR_VECTOR lt_dlerror()
struct __dlhandle * lt_dlhandle
const char * PLCHAR_VECTOR
struct __dlhandle * previousHandle