SyntaxFix
Write A Post
Hire A Developer
Questions
You can also use WriteConsole method to print on console.
AllocConsole(); LPSTR lpBuff = "Hello Win32 API"; DWORD dwSize = 0; WriteConsole(GetStdHandle(STD_OUTPUT_HANDLE), lpBuff, lstrlen(lpBuff), &dwSize, NULL);