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 buffer overrun has occured, what can be the problem?
All the same, but compiled as Win32 (32-bit) works fine and has no problems in registering