Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Regsvr32 strange behaviour = > Regsvr32 does not give any success or failure message

I have an directShow filter: MyFilter.ax

When I try to register MyFilter.ax with Regsvr32 utility it gives NO error or any message(success or failure). But the filter is not registered.

Regsvr32 utility works fine for my other filters.

Why Regsvr32 deoes not give any sucess or failure message? How can I debug my Regsvr32 failure-sucess? Any alternative utility for registering directshow filter which may give meaningfull message?

Best Wishes

Update:

I install clean win7 OS on a virtual machine. Then try to register.Fail again without no message-response from regsvr32.

But then install again a clean win7 OS on virtual machine. Then make all updates. And after i make updates regsvr32 worked and install my filter....I do not know what cause regsvr32 fail and what kind of update fix it. Or is it really an update issue...

like image 818
Novalis Avatar asked Aug 10 '11 20:08

Novalis


People also ask

What does REGSVR32 stand for?

In computing, regsvr32 (Register Server) is a command-line utility in Microsoft Windows and ReactOS for registering and unregistering DLLs and ActiveX controls in the operating system Registry.

How do I use REGSVR32?

Click Start > All Programs > Accessories and right-click on "Command Prompt" and select "Run as Administrator" OR in the Search box, type CMD and when cmd.exe appears in your results, right-click on cmd.exe and select "Run as administrator" At the command prompt, enter: REGSVR32 "PATH TO THE DLL FILE"

How do I use REGSVR32 on 64-bit?

Register 32 or 64-bit DLLs in WindowsStep 1: First click on Start, then Run. Step 2: Now all you have to do to register a DLL file is to type in the regsvr32 command, followed by the path of the DLL file. Step 3: Now click OK and you should get a confirmation message that the DLL has been registered successfully.


1 Answers

What can take place and exhibit the mentioned behavior is that somewhere in your filter you are in a dead loop, or infinite wait, so DLL's DllRegisterServer never returns. In this case, you will be able to see that each time you try regsvr32 Task Manager shows you one more regsvr32.exe running process, with or without CPU consumption.

If this is what you are having, you will want to attach with debugger and see where exactly you have dead loop there...

like image 178
Roman R. Avatar answered Nov 08 '22 20:11

Roman R.