Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Raising Events
Message
De
18/01/2000 02:01:35
Walter Meester
HoogkarspelPays-Bas
 
 
À
17/01/2000 14:46:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00319090
Message ID:
00319315
Vues:
12
Oziel,

>I have a COM component (created w/ VFP). I want to run the component ascyn, when the procedure completes I want to raise an event; this event will be binded to another VFP object (no COM) with the VFPCOM util.
>
>Will calling a method give me the same results?

I don't think you can acconplish this thing the way you want to, but I'll throw in some suggestions.

1. the async point. Natively this is not supported, but you might try using timers in the COM object, which may start code independend from the owner of the COM object.

2. Raising events. you can't use the VFPCOM utility to capture VFP events, so this will be useless. But it think there is another way to to accomplish more or less the same. If you pass an object (by reference) to a COM object, and you change a property of that object on which an assign method (or event) exist it may fire this event on the client side (though I'm not completely sure, you've got to test this yourself).

Good luck,

Walter,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform