Moshi
January 25th, 2007, 10:31 AM
Hi all,
I created the dll originally in VS 2003. It used to come up fine when invoked with the same program I am using now (no change to that program).
Then I made the project into an EXE using VS 2005 at home, and then re-create the dll using VS 2003 here at work.
The re-created DLL works on other people's computers with .NET software on it but not mine (and also not on another laptop running Win2K which was lacking .NET framework files, but after installing the framework files, it gives an "DLLRegisterServer entrypoint was not found" message).
When I do regsrv32 on my computer (which I know I dont have to do on Win XP, but it's interesting still) it gives me a message saying that
LoadLibrary("myDLL") failed -- specified module could not be found.
and if fails to register.
(but a look into regedit shows the DLL present in the registry)
The DLL is in C:\DEWS\Proj\Dews_\
The program which calls the DLL is in C:\DEWS\Proj\Dews_\e-inst\
I also ran set PATH=%PATH%;C:\DEWS\Proj\Dews_\ with no effect.
The DLL is invoked from within the program, with a function key.
Any ideas?
Thanks :)
I created the dll originally in VS 2003. It used to come up fine when invoked with the same program I am using now (no change to that program).
Then I made the project into an EXE using VS 2005 at home, and then re-create the dll using VS 2003 here at work.
The re-created DLL works on other people's computers with .NET software on it but not mine (and also not on another laptop running Win2K which was lacking .NET framework files, but after installing the framework files, it gives an "DLLRegisterServer entrypoint was not found" message).
When I do regsrv32 on my computer (which I know I dont have to do on Win XP, but it's interesting still) it gives me a message saying that
LoadLibrary("myDLL") failed -- specified module could not be found.
and if fails to register.
(but a look into regedit shows the DLL present in the registry)
The DLL is in C:\DEWS\Proj\Dews_\
The program which calls the DLL is in C:\DEWS\Proj\Dews_\e-inst\
I also ran set PATH=%PATH%;C:\DEWS\Proj\Dews_\ with no effect.
The DLL is invoked from within the program, with a function key.
Any ideas?
Thanks :)