So, it's easy ...
I see two possibilities to realize it:
1. Open a COM port and receive the strings. The characters (ASCII 32-255) will be displayed in this window. A new row is started with "\ n". (A simple terminal, I need only receiver)
2. It runs an external program. The program writes to "stdout", which is received via COM port. This information should be forwarded to the desired CodeBlocks-window.
I prefer the second possibility. I am very flexible with it.
I do not need formatting or otherwise. Simply display.
Best regards
ILoveSpeccy
P.S. sorry for my English.