Problem loading module compiled with VC8
Posted: Sun Jun 24, 2007 7:52 pm
I need help, I tried adding the module textban (http://www.vulnscan.org/modules) to UnrealIRCd 3.2.6 and now UnrealIRCd will not start. The error I get is as follows: "* unrealircd.conf:42: loadmodule modules/textban.dll: failed to load: The specified module could not be found.".
I compiled the module myself using VC8 and the guide located in doc\compiling_win32.txt. I then copied the .dll to the UnrealIRCd that I installed using the installer (I downloaded and compiled a separate copy of UnrealIRCd so that I could compile the module). The guide said that once compiled, the module should work on other unreal installations.
I have tried putting MSVCR80.dll into the UnrealIRCd installation folder, but then I get a Microsoft Visual C++ Runtime Library error as follows: "An application has made an attempt to load the C runtime library incorrectly." and UnrealIRCd reports this error: "* unrealircd.conf:42: loadmodule modules/textban.dll: failed to load: A dynamic link library (DLL) initialization routine failed." but the guide said that VC8 should work since Unreal3.2.5.
The reason I wish to compile the module myself is that I want to create my own modules for UnrealIRCd, and so the first thing to take care of is making sure that I actually can compile a module.
VBStrider
I compiled the module myself using VC8 and the guide located in doc\compiling_win32.txt. I then copied the .dll to the UnrealIRCd that I installed using the installer (I downloaded and compiled a separate copy of UnrealIRCd so that I could compile the module). The guide said that once compiled, the module should work on other unreal installations.
I have tried putting MSVCR80.dll into the UnrealIRCd installation folder, but then I get a Microsoft Visual C++ Runtime Library error as follows: "An application has made an attempt to load the C runtime library incorrectly." and UnrealIRCd reports this error: "* unrealircd.conf:42: loadmodule modules/textban.dll: failed to load: A dynamic link library (DLL) initialization routine failed." but the guide said that VC8 should work since Unreal3.2.5.
The reason I wish to compile the module myself is that I want to create my own modules for UnrealIRCd, and so the first thing to take care of is making sure that I actually can compile a module.
VBStrider