how sharing messages between compiler and IDE?

the compiler, done by me, is an independent exe. and the IDE is another exe.
how can i share percent, error messages from compiler to IDE?
someone speaked me about pop-up messages... but can anyone explain more about it?
Not sure about pop-up messages and your compiler. Generally compiler use the console for output.
The IDE could call the compiler in a separate process and redirects the output to an anonymous pipe and reads from there.

https://docs.microsoft.com/en-us/windows/desktop/procthread/creating-a-child-process-with-redirected-input-and-output

Another option would be to redirect the compiler output to a file and read it from there.

"Another option would be to redirect the compiler output to a file and read it from there."
and the compiler work percent too?
the other way can be(you can correct me):
1 - when i execute the compiler i can send the HWND like an argument;
2 - creating an ID event or register it;
3 - then i can use the SendMessage() for i send the percent and the errors messages...
so what you think?
...and the compiler work percent too?
Anything what the compiler outputs.

Sending the HWND seems to be ok, though I never tried it. See first answer at
https://stackoverflow.com/questions/11982387/how-to-pass-a-window-handle-to-a-sub-process
thank you so much for all to all
Registered users can post here. Sign in or register to post.