py2exe by using python3.dll.
脑子抽抽了用LoadLibrary
去调用pythonx.dll
了,重写。
TODO LIST :
- Start a separate thread to call pythonxx.dll
- ...........
studio
cannot be used after usingAttachConsole
cmd.exe
is a application sofreopen("CONIN$", "r+t", stdin);
after usingAttachConsole
is not completely valid!In addition, another reason for the input problem is thatcmd.exe
does not know if it needs to wait. (WinMainCRTStartup) Can see c++ - Console showing when running winapi program - Stack Overflow