I'm taking over a project, which is basically a huge OCX file that will be
housed on an HTML page.
After some tweaking, I'm able to compile the project under Visual Studio
2003. Everything seems to work except when it goes to register the control:
it just hangs.
I removed the registration step from the build and compiled the OCX. Then I
went to a DOS window and entered:
When I do this, the command line comes right back with no error messages.
All appears normal. However, using Process Explorer, I can see that regsvr32
never terminates. The process remains until I manually terminate it.
I then changed the debugging command for the project to be regsvr32.exe with
my OCX as the argument. I set a breakpoint at the start of DllRegisterServer
and ran the project in debug mode. But my breakpoint is never hit. The
program just hangs there until I manually terminate it.
For some reason, Regsvr32 just hangs. I had an old version lying around,
which was getting loaded but I just uninstalled that entire program.
I don't mind researching this myself but I have no idea where else to look.
Any tips or suggestions would be greatly appreciated.
Available for consulting: http://www.yqcomputer.com/