Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting up COM on remote machine
Message
 
To
20/11/2002 10:55:04
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00724195
Message ID:
00724818
Views:
36
Yes, you can. Don't forget that the class has to be marked as OLE Public in Class Info.
Note also, that COM EXE project supposed to have a .PRG (event empty one, which must be Set Main in a project.)

>Before I do that, can you create COM objects using visual class libraries, or does the whole thing have to be in a prg?
>
>Thanks
>Kev
>
>>Try to edit VBR file and make this line like:
>>HKEY_CLASSES_ROOT\MyCom.Main = Main
>>
>>Seems that VBR file ws not generated correctly, so there is a problem with your COM project which needs to be fixed before you will be able to do it properly
>>
>>Could you send me your COM EXE project so I could check what is going on?
>>Also, Win 98 is not a good place to run the COM EXE server under. There is an article how to do it, but I was not able to get it working (I know some people did, however I didn't try hard and moved under Windows 2000)
>>
>>>OK, I've registered the EXE on another PC (w98) and tried CliReg from my PC, and I get exactly the same message.
>>>
>>>Any ideas?
>>>
>>>Thanks
>>>Kev
>>>
>>>>Are you trying to do setup for the client and the server on the same PC? If so, that would not work.
>>>>
>>>>>Nick
>>>>>
>>>>>I get an error when trying a CliReg32, please note though, I am testing this using my WinXP machine only, so that could be the issue.
>>>>>
>>>>>The error is Invalid read from the .VBR file. "HKEY_CLASSES_ROOT\MyCom.Main = "
>>>>>
>>>>>Any ideas?
>>>>>Thanks
>>>>>Kev
>>>>>
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform