axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Duflot <pduf...@gmail.com>
Subject DLL loading on Windows XP
Date Wed, 30 Dec 2009 16:49:18 GMT
Hi List,

I wrote a web service DLL. This DLL is dependant of another DLL that is not
a system DLL, so I put it in the service directory next to my service DLL.
When Axis2c tries to load my service (in axutil_windows.c callLoadLib), it
fails with a 126 error : The specified module cannot be found).
The reason is that it can find the service DLL but it cannot find its
dependant DLL.
I could work around the problem by first calling SetDllDirectory to my
service directory in callLoadLib.

Am I missing something ? Is there a smarter solution ?

NB : I am running Windows XP SP2

Thanks

Patrick

Mime
View raw message