regsvr32

E_FAIL on DllRegisterServer in Win2008 R2 x64

We are getting the error below calling c:\windows\syswow64\regsvr32.exe on Windows Server 2008 R2 x64. This used to work fine on Win2003 x64, with our 32-bit COM DLLs, so we could use them from 32-bit processes. It's happening on all ATL COM DLLs of ours, and doesn't seem related to DLL load dependencies. (Tried using depends.exe, and...

regsvr32 and windows installer

My project uses several dll files with activex controls. Now I am making a deployment project (windows installer). I need to register dlls via windows installer using regsvr32. How should I do it ? And can I detect if regsvr32 failed or not ? ...

Getting notified about new COM server registration

I'm trying to find a way to identify a newly registered or unregistered (via regsvr32) COM servers, which are added to the registry (CLSID). Is there any callback function I can use? I don't really want to poll the registry... ...

Failure to register .dll with regsvr32 - only in Release build.

Hi, I'm having a weird problem when trying to register the .dll i created using regsvr32. During development everything went fine, the debug version registers and works fine. Now i wanted to create a Release version, but that Version does not register anymore. regsvr32 comes up with the following error: The module "mpegsplitter.dll" ...

Using regsvr32, do you need to unregister a dll or ocx before registering it again?

Using regsvr32, do you need to unregister a dll or ocx before registering it again? Or will registering it do that anyway? ...

Why would an OCX or DLL file need to be unregistered then re-registered?

Why would an OCX or DLL file need to be unregistered then re-registered? Why would this happen on machine on not others? ...

If a DLL or OCX is registered by a non-administrator user and regsvr32 says it succeeds, could it still fail to be registered properly?

If a DLL or OCX is registered by a non-adminstrator user and regsvr32 says it succeeds, could it still fail to be registered properly? ...

Remote DLL Registration without access to HKEY_CLASSES_ROOT

We have a legacy VB6 application that updates itself on startup by pulling down the latest files and registering the COM components. This works for both local (regsvr32) ActiveX COM Components and remote (clireg32) ActiveX COM components registered in COM+ on another machine. New requirements are preventing us from writing to HKEY_LOAC...

Windows XP: RegSvr32 /i:[cmdline]: What exactly is "Command line" in this case?

I am trying to register a dll using regsvr32 in a cmd window. I do this on an administrator account, but I need this dll to be registered for all the users. Turns out regsvr32 does not do that, it only registers for your current user. Well, when you use it this way anyways: "regsvr32 /i "C:\MyDll.dll"" What happens; The entry is added to...

How do I check if a COM dll is registered in C#

I created a Office Add-In in VS 2008, C#, .NET 3.5, and VSTO. It is deployed via ClickOnce. A run-time configuration form executes regsvr32 to register "fooapi.dll" included with the project that can not be registered during instal due to ClickOnce limitations. Is there any prefered way to check and see if "fooapi.dll" is registered duri...

Why won't my DLL register with RegSvr32 ?

I have to register a .dll file named MatchMolDLL.dll. To register the DLL I followed these steps: 1) Goto RUN 2) Type “cmd” 3) Type “regsvr32 MatchMolDLL.dll” However regsvr32.exe reports: "MatchMolDLL.dll was loaded, but the DllRegisterServer entry point was not found." How can I register it? If I had to link this .dll file ...

What does regsvr32 filename.ax actually do ?

regsvr32 filename.ax I just see it said something installed successfully,but what's the whole story? ...

Descriptions of error codes returned by regsvr32

Where can I find documentation that describes the meaning of error codes returned by regsvr32, such as 0x80070716? ...

Is there a .NET or Win32 version of regsvr32?

Is there a .NET or Win32 version of regsvr32? I would like to register a COM DLL with code instead of shelling out to the regsvr32 program. ...

About regsvr32 x.dll

Does this command just soft links to x.dll,say if I delete x.dll things won't work? ...

Regsvr32 crashes on Window 7

I have an x64 (64-bit) COM dll. When trying to register it with Regsvr32 on Windows 7 - Regsvr32 crashes. Regsvr32 is run under cmd with administrative priviliges ("run as administrator"), I tried both 32 and 64bit cmd.exe and regsvr.exe, even two different PCs and it is always the same. Debugging the crashed Regsvr32 reports that buff...

Registering mozctlx.dll failed

Hi, I'm trying to install Mozilla ActiveX Control v1.7.12. In the folder where the DLL resides I execute regsvr32 mozctlx.dll but this fails. I get an error message DllRegisterServer in mozctlx.dll failed Return code was: 0x8002801c I already tried an other version of the DLL, but no avail. Any ideas? TIA Steven ...

Register ocx for system (not just current user)

So I am installing an OCX which works great for the current user (when I use regsvr32) however I want to register the ocx for the system, not just the current user. Is there a way to easily do this? ...

"regsvr32 /u " fails when there's white space in the full path of the dll?

When I tried to unregister a dll : regsvr32 /u IPCamFilter1.ax A message box saying LoadLibrary(IPCamFilter1.ax) fails, how can I unregister it ? ...

Running rgsvr32 in program files\myapp seems to fail even when run as admin.

Hello, Our software needs to be able to register an ocx at runtime. The OCX lives in the program files directory of the app. I find that if I manually fire up a cmd line as admin and run the command everything works great, however if i fire up our app as admin and let the app try to register the ocx, it fails. I also notice that the ...