Home > The Specified > Loadlibrary The Specified Module Could Not Be Found Regsvr32

Loadlibrary The Specified Module Could Not Be Found Regsvr32

Contents

Were it not a system DLL, I would have needed to find a newer version which could easily lead to a need to update a whole sub-tree of the dependency graph. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed share|improve this answer answered Jul 30 '12 at 7:59 mox 4,10711226 2 Inspect your (32bit version) of your DLL with Dependency walker (dependencywalker.com) might help –mox Jul 30 '12 at navigate here

share|improve this answer answered Dec 5 '11 at 20:12 Jim B 21.7k22253 Yep. Get DependencyWalker and load {nameoflibrary.dll} -- it will show you which dependent DLL is missing. I did not depend on that import or any other newer APIs, so I could get away with retargeting the project. Not the answer you're looking for?

Regsvr32 The Specified Module Cannot Be Found

All the dependent DLLs were present on the system1 according to depends.exe. If I copy the path to Windows Explorer and attempt to run it, it tells me that I can't run a DLL, so I know it's there. Now I was able to use regsvr32. Any ideas?

dll atl regsvr32 share|improve this question asked Jul 30 '12 at 7:46 Danield 49.9k16112141 where is project.dll? The system finds your DLL (project.dll) but one (or more) dependency of your DLL might be missing. Some imports are missing from some dependent DLLs. Regsvr32 Error Fix Join them; it only takes a minute: Sign up LoadLibrary project.dll failed.

The module “xxxxx.dll” failed to load-1The Module “zkemkeeper.dll” was loaded but the entry-point DLLRegisterServer was not found0ImportError: DLL load failed: The specified mod current community blog chat Server Fault Meta Server Fix Regsvr32 The Module Failed To Load Check the command line. You need to look at the getlasterror code to determine why the module was not found. I can see it.

Depends.exe did not offer much explanation, but digging around revealed that one of the imported functions were missing from the DLL on the system. Getlasterror Code The 64 bit version registered fine. Or even worse, if I depended on the missing imports, some serious refactoring would be needed. The DLL is however right there.

Fix Regsvr32 The Module Failed To Load

If these are system DLLs, you are likely targeting a wrong version of Windows. internet Once this was corrected, the two DLLs registered correctly. –Cyberherbalist Dec 5 '11 at 23:34 add a comment| up vote 6 down vote Jim B. Regsvr32 The Specified Module Cannot Be Found dll share|improve this question edited Dec 5 '11 at 20:24 Mark Henderson♦ 52.3k22140215 asked Dec 5 '11 at 19:12 Cyberherbalist 2171313 Is this a 64-bit Windows 2003 server? –jscott Regsvr32 Getlasterror In my case, the icon of KERNEL32.DLL was slightly red tinted.

up vote 6 down vote favorite I'm installing a custom application on a brand new Windows 2003 Server. check over here To sum it up, this error message2 can be caused by the following issues: The DLL file was not found or could not be read. asked 4 years ago viewed 18369 times active 2 years ago Related 4LoadLibrary is failing with module not found error — possible dependency problems6The module “.dll” was loaded but the entry-point If these are non-system DLLs, you need to install newer versions of them and all their dependencies. 1.: Apart from IESHIMS.DLL and WER.DLL which is apparently a bug in this old Regsvr32 Entry Point Not Found

The specified module could not be found up vote 4 down vote favorite When I try to register the 32 bit version of my C++ / ATL project with regsvr32 project.dll in the PATH? –stijn Jul 30 '12 at 7:51 yes it's in the same directory (otherwise I would get an error saying that no such file exists!) –Danield Jul Jul 30 '12 at 9:11 add a comment| up vote 1 down vote I just installed Microsoft Visual C++ 2010 Redistributable Package and now I can install the dll. his comment is here share|improve this answer answered Jul 30 '12 at 9:01 Danield 49.9k16112141 I just noticed that in the installer that i'm using there's an option to include this package as

Although this works, I'm not too happy with this, because I don't want to have to install this package on a client in order for my dll to work by them. Regsvr32 Windows 10 Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the Some dependent DLLs were not found or could not be read.

current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list.

To see the imported functions, select the dependent DLL in the treeview and look for the import on the right panel. Order by the PI column to see the red icons of missing imports. In my case, the missing function was a function that did not exist on my sad target operating system, Windows XP. Unable To Load Dll The Specified Module Could Not Be Found This of course is a very specific (and lucky) case.

is probably correct. A module that was supposed to be installed by the main application didn't get installed. Browse other questions tagged dll atl regsvr32 or ask your own question. weblink A couple of DLLs need to be added and registered, and I have copied them to the server in the C:\WINDOWS\System32 folder -- which is where they have always been when

What am I missing? in the same dir as where you invoke this command? Since my program did not directly depend on this function, I was able to get away with #defineing the following in my project: #define WINVER 0x0501 #define _WIN32_WINNT 0x0501 Compiling with However, when I try to register them using: regsvr32 c:\windows\system32\nameoflibrary.dll It gives back: LoadLibrary("c:\windows\system32\nameoflibrary.dll") failed - The specified module could not be found.

One minor complication is that the DLLs were built in VB5 -- but the VB5 runtime is installed on the server, so this shouldn't be a problem. You could have posted a screenshot onto the original question. –Roman R. All static dependencies (direct and indirect) must be resolved before the Windows loader can start (in your case register) an application. –mox Jul 30 '12 at 9:00 Which DLLs share|improve this answer answered Dec 5 '11 at 20:23 DougN 6101715 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign