CVI's server creation was not designed to be used with DCOM, which is why when you created the server using CVI, the name never shows up under the DCOM configuration window. Unfortunately, this is something we do not support.
Having said this, I have found a way (from the internet) you can get the activex servers to show up in the dcom configuration utility, but this requires making some registry edits. The reason is CVI built servers and objects do not register AppIDs. And this is something DCOM needs. We can add this manually to the registry, but if anything goes terribly wrong, you may corrupt your activex server settings and be in a bad situation. So, be cautious if you choose to do the following:
Remember that AppID's are object based and not server based. So you would need to setup an AppID per object you have, assuming the server is registered.
First get the CLSID of the object, from CVI >> Tools menu >> Edit ActiveX Server >> Edit Objects >> Edit >> Advanced Options >> GUID (CLSID)).
1) Open the HKCR/CLSID/{clsid of object} for the object
2) Add a String value at the top level in this node with the name: "AppID" and for the value use a new GUID.
You can use guigen.exe to generate a guid for you. You can find this tool under ..\CVI\sdk\bin. Launch the tool, choose GUID format 4, and copy the guid. Include the braces as well.
3) Go to HKCR/AppID and create a new Key under this with the same name as the new GUID key.
4) In this new Key, modify the (Default) String value with a descriptive name for the AppID. This is the name that will show up in the dcom configuration tool
5) Now reload dcomcnfg or oleview to see the new AppID (look for the descriptive name you added).
To refresh the registry, open up the task manager, end all the processes for "explorer.exe", and then start it again by going to the task manager >> File >> New Task ( Run.) option. Type explorer to launch the explorer process. You should be able to configure the server to be used remotely.
Again to emphasize, modifying your registry settings may or may not corrupt your activeX server settings, and so I would test this on another machine. I think this would work for you, but just be VERY careful. Again, NI does not support this, and so if you run into trouble, there is limited help.
Jeremy L.
National Instruments
Jeremy L.
National Instruments