This is a programmer's catch 22. You should write an API method which can be called without instancing the object that implemented the API method . But the truth is I still don't understand why you want to automate the registering process. Registering is needed only ONCE (per system), not on every boot. Anyway you can start vremote.exe with the /REGSERVER command line switch. |