Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can object be passed to COM/DCOM server?
Message
De
12/05/1999 10:41:22
 
 
À
12/05/1999 09:46:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00217787
Message ID:
00217835
Vues:
29
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform