Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HProcess -- waiting for Word to complete
Message
De
11/02/2002 09:34:23
Patrick O'Neil
American Specialty Information Services
Roanoke, Indiana, États-Unis
 
 
À
11/02/2002 08:44:00
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00617439
Message ID:
00618292
Vues:
35
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform