regsrv32 command
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
'register' inevitably means writing to the Windows Registry database. Hacking USER.DAT and the like from DOS is pretty much suicidal in term of Windows ever booting up again, so ultimately if you want register an ActiveX the registration process will need to run under Windows. There's nothing to stop you running regsvr32 from a command prompt or by use of ShellExecute(). It can be run with a quiet switch, /q I think, if you don't want any message boxes popping up.
Nothing is exactly what it seems but everything with seems can be unpicked.