Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Chilkat 1.1 Released - Now with Events support!
Message
De
04/11/2022 18:51:02
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Chilkat 1.1 Released - Now with Events support!
Divers
Thread ID:
01685241
Message ID:
01685241
Vues:
85
J'aime (2)
Folks,

When I first started the Chilkat project I was under the impression that events could not be supported in Visual Foxpro. Fortunately, it turns out that I misread the Chilkat documentation.

I had found a GitHub site in late September where Chilkat placed some classes that (in theory) supported events - or as Chikat references it, event callbacks. That told me that in theory it could be done.

It's done. ChilkatVFP supports all Chilkat event callbacks.

It's not as straightforward as I'm presenting it. The Chilkat documentation is lacking, the event examples are missing methods and the parameters don't match in some cases - and you must match exactly or the binding doesn't work.

On the Visual Foxpro side the IMPLEMENTS clause of DEFINE CLASS has some pretty serious compilation bugs. And there are some things necessary to make events work that literally I can't explain why it works that way, only that you have to do it that way.

So you have event hooks for arriving emails, files uploaded/downloaded, processing Zip and Tar files, HTTP request/receive, and so on.

https://github.com/billand88/ChilkatVFP

Let me know if it works for you,

Bill Anderson
Integrity, integrity, integrity!
Répondre
Fil
Voir

Click here to load this message in the networking platform