>>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