[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: calling asynchronous appserver procedure from class

  • Thread starter Thread starter frank.meulblok
  • Start date Start date
Status
Not open for further replies.
F

frank.meulblok

Guest
You'll need to set up a persistent procedure that acts as a helper to handle the events. The event procedures in that helper can call back into the class for the actual logic. (Keeps the real functionality in one place, makes it easier to remove the helper in case Progress finally decides to lift these limitations after ... 13 years I think ?) Basic outline is described here: knowledgebase.progress.com/.../P120881 This KB article: knowledgebase.progress.com/.../P168296 has a more complete example for a similar scenario for COM objects, Only real difference for async appserver calls is that instead of using the " RUN enableevents IN hhelperproc (INPUT chExcelApplication).", you'd specify the persistent procedure handle as your event-procedure in the RUN ... ASYNC statement to make sure the helper gets properly registered as the event handler.

Continue reading...
 
Status
Not open for further replies.
Back
Top