Cannot load modules on Windows XP

These are old archives. They are kept for historic purposes only.
Post Reply
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Cannot load modules on Windows XP

Post by AngryWolf »

This problem was reported to me by a friend of mine having Windows XP and Unreal3.2.1 (official release, without SSL support). Because that I haven't seen such an error yet about failing to load modules, I'm uncertain what to answer, asking for support here. The configuration looks like this:

Code: Select all

loadmodule "modules/commands.dll";
loadmodule "modules/cloak.dll";
loadmodule "modules/netadmins.dll";
loadmodule "modules/operpasswd.dll";
The last 2 modules are 3rd party ones coded by me. Those DLL files were downloaded from Stealth's pre-compilations page at the first time, (http://www2.x-tab.org:1000/~ircd/), and as a second attempt, Zell's non-SSL pre-compilations were also tried (http://angrywolfmod.8k.com).

And now the error messages:
loadmodule netadmins.dll: failed to load: A megadott modul nem található.
loadmodule operpasswd.dll: failed to load: A megadott modul nem található.
The Hungarian text says: "The specified module could not be found".

Seeing the output of the 'dir' and 'dir modules' commands, I'm quite sure the path for the modules are correct (the DLLs do exist in the 'modules' directory), I haven't a clue what could be wrong. Any ideas?
Syzop
UnrealIRCd head coder
Posts: 2179
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

Slightly offtopic, but do you have problems with ssl on non-ssl and vice versa then? If so, feel free to report on bugs.* since we tried to make them work fine on Windows (by padding structs and stuff).
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

No, noone has reported such problems to me yet. If someone does, I'll let you know. Thanks for your answer, anyway.
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

This might be a bit confusing, but that error message is generated by Windows, not Unreal. The reason it is confusing is the use of the word "module." In Windows lingo, "module" means "dll." I didn't look at Zell's, but the other ones require msvcrd.dll. That, as far as I can tell, is not included with Windows. Hence the error message. I suspect, if the user downloads and installs msvcrd.dll, then it will work fine. I suspect the problem is the same with Zell's, though the dependancy might be on a different DLL.
-- codemastr
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

A page found with Google says that msvcrtd.dll is provided by VS 6.0, and in VS .NET it was renamed to msvcr70d.dll (which, we know, the win32 port of Unreal3.2.1 requires). I guess Zell also uses VS 6.0, because his DLL file requires msvcrtd.dll. Without it, on a Win98 SE system I get similar error message about loadmodule, with the explanation below:
One of the library files needed to run this application cannot be found
Therefore I think you wanted to say msvcrtd.dll instead of msvcrd.dll. Possibly a typo? Correct me, if I'm wrong.
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

Yeah, it was a typo.
-- codemastr
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

Thanks, msvcrtd.dll solved the issue.
Post Reply