Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not a problem just wanted opinions.
Message
From
08/06/2005 12:34:52
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01021285
Message ID:
01021458
Views:
23
Thanks Ken. I have various papers on it but have not spent the time to study them properly. But I think I have a use for this now so the fun will begin :)


>register it on the machine you wish to run it on same as usual, either using foxpro to register it or by using /regserver
>
>then register the class on the machine you with to call it from using clireg32 and the .vbr file created when you built the exe containing the public class.
>
>when you run clireg32 you will get a box allowing you to select DCOM and the name of the machine the object will run on, something like - //MYMACHINE maybe its \\MYMACHINE I always have to have two or three goes at that bit! once that is done createobject will start the object on the remote computer (it's really satisfying the first time it pops up) after many many "class not registered" or "failed to create" errors.
>
>anyway, when you want many objects like this you use CreateObjectEx() the documentation for that will help, I know I learnt it all from a combination of webpages and books that explain it better than I can, if anyone can help with references?
>
>looking to my left I notice the microsoft press "Visual Foxpro 6 programmers guide" is actually still open on the very helpful page 462, if you have it those are the few pages with pretty much all you need. :)
>
>it takes a bit to fully explain it, there is things like permissions and the way objects are instanced to consider, also some of the things you need to realise are really not documented very well, I may try putting a webpage together to help others if people think it's worth it.
>
>again sorry I can't help more at the moment.
>
>Ken.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform