Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing Custom ActiveX DLL Events
Message
From
17/12/1997 23:30:39
 
 
To
17/12/1997 23:23:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00066798
Message ID:
00066813
Views:
38
>>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform