From 6b80680358669905921d37b2e8734dab7ee26f1b Mon Sep 17 00:00:00 2001 From: dimitr Date: Sun, 6 Jul 2003 11:38:30 +0000 Subject: [PATCH] Preload the client library to fix the win98 UDF issues. --- src/remote/srvr_w32.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/remote/srvr_w32.cpp b/src/remote/srvr_w32.cpp index e3d49a6f6f..1ff2890e60 100644 --- a/src/remote/srvr_w32.cpp +++ b/src/remote/srvr_w32.cpp @@ -134,6 +134,8 @@ static int shutdown_pid = 0; /* put into ensure that we have a parent port for the XNET connections */ static int xnet_server_set = FALSE; +const char *FBCLIENTDLL = "fbclient.dll"; + int WINAPI WinMain(HINSTANCE hThisInst, HINSTANCE hPrevInst, @@ -235,6 +237,8 @@ int WINAPI WinMain(HINSTANCE hThisInst, ISC_enter(); #endif + LoadLibrary(FBCLIENTDLL); + if (connection_handle != INVALID_HANDLE_VALUE) { THREAD_ENTER; if (server_flag & SRVR_inet)