Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing Custom ActiveX DLL Events
Message
From
17/12/1997 23:07:43
Jay Shepherd
Construction DataFax, Inc.
Montevallo, Alabama, United States
 
 
To
17/12/1997 23:04:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00066798
Message ID:
00066802
Views:
46
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform