Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binding Events In a COM Object
Message
 
À
10/06/2003 13:14:26
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00798477
Message ID:
00798594
Vues:
35
Just to clarify:

I agree that you cannot create custom events in VFP.

Nevertheless, you can have the custom events functionality in VFP application that would work exactly as if it was possible to create and raise native VFP events both in applications and VFP COM objects.

That was the theme of my DevCon 2001 presentation in San Diego, and the article in FoxPro advisor.

Not that it is related to the original Kevin's question... :)



>You can't create your own events in VFP.
>
>>Anyone know why EVENTHANDLER() returns FALSE in a VFP DLL?
>>
>>
>>lBound = EVENTHANDLER(oActXCtrl.Object, oEventSet)
>>
>>
>>lBound returns TRUE if I run this as a PRG. If I compile it into
>>a DLL, lBound is FALSE. Should it be working in a DLL?
>>
>>Anyone?
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform