I want to have a console process then this process should create another console window. The first process should have access to this new window handles so it can read from and write into it.
you can create a console window for a process that hasn't have it by AllocConsole() you can also create a console process by calling CreateProcess() and setting CREATE_NEW_CONSOLE. But last one needs a module. It doesn't give us a new window but a new process. But I just need a console window.