Tag Info

Hot answers tagged

2

The error is accurate, if not completely clear. regsvr32 does its stuff by loading the DLL into memory, then calling the DLLRegisterServer function defined in the DLL. If the DLL doesn't have a DLLRegisterServer function, then you get that error about the function being missing. If ever you're in doubt, the depends.exe tool can show you what functions are ...


2

It appears that wscript was running in 64 bit mode and was unable to see the registrations... following the instructions on http://forums.iis.net/t/1154189.aspx I was able to run the createobjects in 32 bit mode (via classic asp) and the components worked as they should. Thanks for the help all!


2

There can be issues with running .bat files by right-clicking and choosing Run as Administrator. Another option is to start an elevated command prompt and execute the .bat file from there.


2

It could be that a dependant module is missing. You need to look at the getlasterror code to determine why the module was not found.


2

Jim B. is probably correct. Get DependencyWalker and load {nameoflibrary.dll} -- it will show you which dependent DLL is missing.


1

Well, first try turning off UAC completely (and rebooting) to run the installer, which will correct the problem if the issue is caused by UAC. The other possibility is that these old installers and/or .dlls are simply not (quite) compatible with Windows 7. In which case, I advise not trying to force it... because if you do manage to get the thing ...


1

Try unregistering the ocx file, move it to the syswow64 folder and then register it. Strange as it might seem, that oddly named folder is where 32 bit libraries go on a 64 bit Windows machine.


1

In a 64-bit Windows operating system, there are two versions of the file Regsv32.exe: The 64 bits is %systemroot%\System32\regsvr32.exe. The 32 bits is %systemroot%\SysWoW64\regsvr32.exe. Try copying any of these two executables, along with the OCX or DLL file to register. Run in administrator mode, or change the properties of the executable in ...


1

if you not administrator then you cannot do "Run as administrator" (but you allways can use "RunAs") and ofcouse "Run as administrator" gives you all necessary rights to do "regsvr32"


1

Try putting cdonts.dll in %windir%\syswow64\, then running regsvr32.exe from \syswow64 and see if that works for you. 32-bit apps see \system32 really as \syswow64, while the 64-bit apps see the real \system32.


1

There's an answer here. Hope it helps.


1

It might be because the dll doesn't have a DllRegisterServer entry point. This is a .NET dll, NOT a COM dll, and so you don't regsvr32 it. Instead you need to install the Visual Studio Tools for Office from e.g. here.


1

You might try opening your DLL with Dependency Walker. If you have any missing DLLs that capicom.dll depends on, Dependency Walker will help you to find them.



Only top voted, non community-wiki answers of a minimum length are eligible