- // Dies zu programmieren mit der reduzierten Inputrate.\r
- // Ist nicht angenehm. Ich werde es ändern.......\r
-\r
- // printf("%c", get_block(6, 23));\r
- // printf("%c", get_block(6, 24));\r
-\r
- STARTUPINFOA si;\r
- PROCESS_INFORMATION pi;\r
-\r
- ZeroMemory( &si, sizeof(si) );\r
- si.cb = sizeof(si);\r
- ZeroMemory( &pi, sizeof(pi) );\r
- \r
- //MessageBoxA(NULL, "Guten Tag.", "Spiel Name???", MB_OK);\r
-\r
- // Start the child process. \r
- if( !CreateProcessA( NULL, // No module name (use command line)\r
- "notepad.exe lvl/1.txt", // Command line\r
- NULL, // Process handle not inheritable\r
- NULL, // Thread handle not inheritable\r
- FALSE, // Set handle inheritance to FALSE\r
- 0, // No creation flags\r
- NULL, // Use parent's environment block\r
- NULL, // Use parent's starting directory \r
- &si, // Pointer to STARTUPINFO structure\r
- &pi ) // Pointer to PROCESS_INFORMATION structure\r
- ) \r
- {\r
- printf( "CreateProcess failed (%d).\n", GetLastError() );\r
- return 0;\r