As I said, I just need to send a specific command to the console (exec ODA XXXX 1, where XXXX is the number of the buzzer I need to ring).
The console itself is started by a command in a DOS PROMPT (start wmconsole RD1), so I was thinkg about creating a DOS PROMPT and making it start the console.
As my program will be creating the PROMPT, I'll have the standard handles of the PROMPT.
These handles will be inherited by a new process created by the PROMPT (in wich case is the wmconsole).
Finally with those handles I'll probably be able input commands in the stdin of the wmconsole, making it possible to send the command to it using the WriteConsole function in windows.h.
Thanks,
Komyg