I'm trying to help a PowerBuilder programmer (uh ,its not me, it for a friend) who needs to declare a DLL WithEvents.
I do this in VB like this:
Public WithEvents MyObject as MyDll.MyClass
Then any events fired by the dll are handled in the VB code:
Private Sub MyObject_MyEvent()
I don't know PB so be gentle.
1. The DLL is already written and works when called from apps written in VB and C++.
2. I need to know how to delcare and use this dll in PowerBuilder so the EVENTS are processed in the PowerBuilder all when fired by the dll.
I gave an example of how to declare and use a dll WithEvents in vb. How is it done in PowerBuilder?