Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DCOM or COM?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00497236
Message ID:
00497246
Views:
41
>>I have created a COM object that will be used from within an application and outside the application. (It's a middle-tier data warehousing object.) It was originally written for a specific client to be used outside the application, but now mangement wants to include it with the application. So, what's the problem? Most of the clients already have the application installed, and to use it as a com object, they would have to install it and register it on each client machine. The other option is to install and register it on the server once and use createobjectex(). The problem is the name of the remote server (machine name) will be different for each installation. Is there a way to get the machine name of a remote server programmatically? Does anyone have any suggestions?
>
>Hmm, shouldn't you know the machine name (IP address) of the remote server in order to connect to it and obtain its machine name programmatically? :)

That's the problem. Each installation will be different, so the ip address or UNC path (\\invlin100) will be different.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform