In the development of Windows Mobile 6.1, we can see console applicationsProgramType. However, if you put such an application in the actual machine and run it, you will find that there is no output content.
Because the Windows Mobile system does not include console output modules by default. You can download the windowsmobilepowertoys tool from Microsoft. Install the tool on the PC. However, we only need to use the three files in the ppc_command_shell folder, which is
Console. dll
Shell.exe
Cmd.exe
Place console. dll in the Windows folder of Windows Mobile. The other two files can be saved in any other folder.
For Pocket PC systems, cmd.exe can run. However, Windows Mobile 6.1 does not respond. Later, I found some materials and found that the following key steps were missing:
To modify the registry settings:
SetHKEY_LOCAL_MACHINE/Drivers/console/outputto
Change to 0