I've created an ActiveX Server from a LabVIEW vi that I open up from TestStand then communicate with the Controls and Indicators through the "ActiveX/COM" interface. Before starting it I call the executable with "myvi.exe /RegServer" to ensure that it has been registered with Windows. Everything works fine from this point on.
My problem is that when I'm done I quit the application and unregister the executable with "myvi.exe /UnregServer". When I make the call I get the Windows error "Write permission to the Registry denied, LabVIEW Server not unregistered" However, it does seem to work as the server is unregistered. I know this because if I try to create a reference to the application I get a "Type library not found error"
I couldn't find anything on MSDN about this. If I try the same thing from the command prompt I still get the error.
It's probably not really necessary to unregister the server, but as I update it I don't want old unused registered versions showing up.
Any clues as to why I get the error?
Dave