Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Raising Events
Message
From
18/01/2000 02:01:35
Walter Meester
HoogkarspelNetherlands
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00319090
Message ID:
00319315
Views:
13
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,
Previous
Reply
Map
View

Click here to load this message in the networking platform