Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing Custom ActiveX DLL Events
Message
De
17/12/1997 23:07:43
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, États-Unis
 
 
À
17/12/1997 23:04:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00066798
Message ID:
00066802
Vues:
44
>>I have an ActiveX DLL that I created with Visual Basic, and I want to use this withing VFP. How can I be able to respond to the custom events from within VFP?
>
>I had to do the same in reverse way. From Visual FoxPro to Visual Basic, we don't have much choice. We can't do an OCX so I did a DLL. From Visual Basic to Visual FoxPro, have you thought of doing an OCX instead so you can benefit of full control?

No, that's sort of the point. I don't want to implement a control. I need to create a DLL, and then use it within VFP. Most everything works fine, except that I can't figure out how to react to an event from the DLL.

For example, the DLL has a Test() method that raises a test event. There should be a way that I can access that event from with VFP so that I can attach code to it. (Keep in mind that this is not done in a form, just raw code.)
Jay Shepherd
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform