Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing Custom ActiveX DLL Events
Message
De
17/12/1997 23:30:39
 
 
À
17/12/1997 23:23:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00066798
Message ID:
00066813
Vues:
41
>>>>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.)
>>>
>>>Do you mean you have some code in that event and it does not fire? If this is the case, try AutoYield=.F.
>>
>>Isn't AutoYield only for OCXs?
>
>It may well be the case.
>
>>But he wants to attach VFP code to the event, which is probably a Windows message. And this leads to the fact that he needs to create an OCX in VB. Am I right?
>
>Yes, however, there might be a way to do it but it may not worth it. What if the event maintain a property of that DLL and we have a VFP timer which will check for that property change to execute some VFP code and reset the property after?

Well, from one of his messages (the one that gives a code sample), it's pretty clear that he created, in fact, an OCX in VB. Which, is the same as an ActiveX DLL.

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform