Information générale
Catégorie:
COM/DCOM et OLE Automation
Who said anything about DLL's?? Implements works with non-DLL classes in VB. As for implementing all the members in VB in a DLL, you are correct. In this context, I was talking about non-DLL implementations.
Besides, this issue is really about simulating the With Events keyword in VB. As I see it, IMPLEMENTS/EventHandler is overkill if this is all you want to do. In my not so humble opinion, VFPCOM and BindEvents is far more simpler and efficient than dealing with the IMPLEMENTS/EventHandler mess. As I said, I tried to get a good compile, but could not.
I understand the need and application for Implements/EventHandler. However, I reject the notion that it is a perfect substitute for VFPCOM/BindEvents.
>AFAIK, you have to implement the whole interface even in VB. If you leave out something, the DLL won't compile.
>
>Implements gives VFPers interface binding. The first stage of it is used for Event interface binding. Perhaps we'll get further functionality in future releases.
>
>Regards.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement