on 05-05-2014 3:20 PM
With the advent of PB15, we're taking another look at the .NET versions of Powerbuilder. We have one problem which has always been a show-stopper for us. Perhaps now there's more experience with the product, someone knows how to get this working.
We have a 3rd party non-visual .NET assembly which generates asynchronous events. In C#, when you create the object, you pass it an event handling routine:
ThirdPtyObject.Session session = new ThirdPtyObject.Session(sessionOptions, new EventHandler(MyEventProcessing));
Elsewhere within the code you define the event processing which takes place when this event is triggered:
static public void MyEventProcessing(ThirdPtyObject.Event eventObj, ThirdPtyObject.Session session)
{
// ... your event processing code goes here
}
How do you code this up in Powerbuilder .NET? Can anybody point me to some documentation or an example? Or is this like the old non-visual COM objects, which you need to wrap as a visual ActiveX before you can code the events?
Many thanks in advance for any assistance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Solent;
FYI: The PB v15 release will be focused on PB Classic features and not PB.Net. Also, there is no long term road-map for PB so, its hard to say what SAP will do with PB.net after v15. Maybe <hint> someone from SAP can jump in here </hint>.
Regards ... Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.