The Linux Page

register

Register a DLL, OCX and COM objects

If you're like me, you need to register an OCX, DLL, COM object once in a while. Not so often that you will remember what the command is. So...

In order to register a DLL, an OCX and any other COM object, use the MS-Windows tool regsvr32.exe (which usually is in C:\Windows\system32 or some similar folder).

There is also a way to edit the registry, but frankly, just use the tool!

Question: Is there a regsvr64.exe under Win64? 8-)

Register an application so it automatically starts on reboot

Always wondered how they automatically restart an application after a reboot under MS-Windows?

There is a function named RegisterApplicationRestart() that does just that.

There are flags to tell when your application should be started or under which circumstances.

For instance, you can start only if something crashed the OS.

The doc is here: https://msdn.microsoft.com/en-us/library/aa373347.aspx

Syndicate content Syndicate content

SMS From Me Logo

SMS From Me

To automatically start one on one conversations with your online leads.

     

   

Terms of Site Index

Find the page/content you are looking for with our index.