From 2f4ea160514b89afad5f688e5fe6c03296656648 Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Wed, 13 Jul 2005 01:07:00 +0000 Subject: got vnc mod working in win32 --- common/os_calls.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common/os_calls.c') diff --git a/common/os_calls.c b/common/os_calls.c index 0a4efba3..838e60ec 100644 --- a/common/os_calls.c +++ b/common/os_calls.c @@ -678,7 +678,7 @@ long g_load_library(char* in) { #if defined(_WIN32) - return 0; + return (long)LoadLibrary(in); #else return (long)dlopen(in, RTLD_LOCAL | RTLD_LAZY); #endif @@ -693,7 +693,7 @@ g_free_library(long lib) return 0; } #if defined(_WIN32) - return 0; + return FreeLibrary((HMODULE)lib); #else return dlclose((void*)lib); #endif @@ -709,7 +709,7 @@ g_get_proc_address(long lib, char* name) return 0; } #if defined(_WIN32) - return 0; + return GetProcAddress((HMODULE)lib, name); #else return dlsym((void*)lib, name); #endif -- cgit v1.2.1