Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateObjectEX
Message
From
02/11/2000 16:18:32
 
 
To
02/11/2000 16:16:46
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
Miscellaneous
Thread ID:
00437121
Message ID:
00437385
Views:
23
>>>>>>I have a VFP COM object that I use on my web pages with no problem. It is installed and registered on my web server. I am now trying to do a CreateObjectEX('{8795FE62-4127-11D4-B8A9-005004B2CDCF}','\\MyServer') from a workstation and it always fails with "Class not registered" errors. What do I need to do to be able to instantiate this object from a remote workstation?
>>>>>
>>>>>Where did you get the CLSID that you passed? Are you sure it's the right one? What ou are trying should work, as long as the component is registered on the remote machine, the CLSID is right, and the machine name is resolvable.
>>>>
>>>>
>>>>I cut and pasted the CLSID straight from the .VBR file that is sitting on the server. I also cut and pasted the machine name from my Explorer window. The COM object works fine, the web site uses it all day long.
>>>
>>>Can you double check it in the registry? The CLSID you are using should be listed in HKCR\CLSID, and point to the EXE in question. Wait- it is an exe right?
>>
>>No, it's a DLL.........
>
>You can't run a dll through DCOM unless its in an MTS Package or COM+ application. DLLs run in-process...

How do I make it COM+?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform