Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HProcess -- waiting for Word to complete
Message
From
11/02/2002 09:34:23
Patrick O'Neil
American Specialty Information Services
Roanoke, Indiana, United States
 
 
To
11/02/2002 08:44:00
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00617439
Message ID:
00618292
Views:
29
>No, EventHandler() was added in VFP 7. But VFPCOM.DLL has a comparable
>technique. (Too early Monday morning here - the particulars aren't coming
>to mind.) The article should give you what you need.
>Tamar

tamar-
yes, the description of how to use it was quite clear, and i've got
it working. here's a reminder:
obj_VFPCOM     = CREATEOBJECT ( 'vfpcom.comutil'   )
int_BindEvents_Status = obj_VFPCOM.BindEvents(obj_Word , obj_WordEvents)
then in the "word-events" class wait for the QUIT event to fire.

this seems to be equivalent to "thunking" when writing C++ Windows code.
let me repeat, i really appreciate you putting me onto this technique,
because i was totally unaware of it. it promises to be useful in many
cases in the future.

thanks again,
patrick
Previous
Reply
Map
View

Click here to load this message in the networking platform