LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to register a self-registering automation server (myapp.exe) before I run the server. Can anyone help? The server is started via another application and if it not registered the other app cannot run it.

I have tried c:\myapp.exe /regserver which does not appear to do anything. I have also tried RegSvr32 c:\myapp.exe, this fails because it is not a .dll or .ocx file.
0 Kudos
Message 1 of 2
(2,585 Views)
Probably, you've already did it.
Assuming it is compliant with COM requirements, your executable component must self-register when first started, and must support the command line options /REGSERVER and /UNREGSERVER to manually register and unregister them. Invocation with either of these options must immediately EXIT and must NOT START the program (maybe this was confusing). Therefore, be sure to call "myapp.exe /regserver" before attempting to use it and see if it's working after.

Hope this helps
0 Kudos
Message 2 of 2
(2,585 Views)