Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can object be passed to COM/DCOM server?
Message
From
12/05/1999 10:41:22
 
 
To
12/05/1999 09:46:40
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00217787
Message ID:
00217835
Views:
27
>So, does it mean that I can pass the object to one of methods of COM server to register it there?
>I mean:
>
>Main.INIT
>
>goCOMSRV = create([myDCOM.DCOM])
>goCOMSRV.RegisterIT(THIS)
>

Yes... if you could pass objects.

If passing objects doesn't work, you may be able to pass properties by reference, but I haven't tried it...

goCOMSvr.RegisterIT( @this.WhatEverYouNeed )

OF course, that property could have an assign method on it too, to process the value that the COM server puts into it. This is all theory of course, I haven't tried it.

>>>so, how should I pass an object to COM object?
>>2. I think you have to wait till the next SP to pass an Object
>
>Are you talking about VFP 6.5?

SP3, 6.5, what ever they call it... just yesterday KenLEvy said passing Objects to COM objects was added to 'the next version of VFP'. Lets hope he doesn't mean 7.0. <g>

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform