When developing a COM based application sometimes it’s sometimes useful to register all the DLLs/OCX at once.
From a command prompt
1 |
C:develepprojectrelease>for %i in (*.dll,*.ocx) do regsvr32.exe %i /s |
This will try to register all dll’s even if they are not COM dlls. This is fine as the registration will fail silently.You can change the above command to register COM servers eg
1 |
C:develepprojectrelease>for %i in (*.exe) do %i -RegServer |
Load comments