[progress Communities] [progress Openedge Abl] Forum Post: Pdsoe - Abl Editor - How To...

  • Thread starter Thread starter olivier.dunemann
  • Start date Start date
Status
Not open for further replies.
O

olivier.dunemann

Guest
Hi there, We are in the way to migrate to PDSOE. By the way, we use Roundtable to manage source files versioning. Each time we save a source file, we add (or update) a couple of preprocessor variables definition on top of the source code (to reflect the object name and its version). Inside the kind old OpenEdge ADE, this was made simple using the "_adeevnt.p": Trap the "Before-Save" event, fetch the handle of the Procedure Editor and add/update the required preprocessor variables definition. Inside PDSOE, I didn't find yet a similar way to achieve this. I can trap the "Before-Save" event in "_idestartup.p", but how can I get (and modify) the content of the file edited in the (ready to save) ABL Editor? I've looked at procedures and functions available in the undocumented/unsupported "oeideservice.p" and "oeideservice.i" files. I've even (naïvely) tried: DEFINE VARIABLE hWindowHandle AS HANDLE NO-UNDO. RUN getWindowOfFile IN hOEIDEService (INPUT /* File */ ProgramName ,OUTPUT /* winHandle */ hWindowHandle). But the output parameter is the Unknown Value. Does anyone have already done similar thing? Any help would be appreciated. Thx in advance. Olivier Dunemann

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