Windows Messages and Callback Routines

We have a report generator integrated into our COBOL application (List & Label of Combit) via a DLL. This works smoothly for years.

Now we want to realize a sequence, where the report generator send news about "Windows Messages" back to us, so that we can initiate new actions in COBOL.

Can I noticed this news about a EVENT Procedure at the window? Must this window be "modeless" and the DLL called as "thread"?

Or must I stand on a ACCEPT in COBOL (ACCEPT ... ALLOWING MESSAGES ...)?

Alternatively, you can also use callback routines for the report generator. What is it and does it work with COBOL?

Unfortunately there are no COBOL users in the forum of the report generator, who want to do so much.

Frank-Peter Clees