8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 23:23:04 +01:00

Preload the client library to fix the win98 UDF issues.

This commit is contained in:
dimitr 2003-07-06 11:38:30 +00:00
parent d8922bd8cc
commit 6b80680358

View File

@ -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)