How can you view printf output in a Win32 application (entering with a WinMain) in Visual Studio 2010?
相关问题
- Multiple sockets for clients to connect to
- How to know full paths to DLL's from .csproj f
- Importing NuGet references through a local project
- What is the best way to do a search in a large fil
- Visual Studio 2019 - error MSB8020: The build tool
I know that I have done this in the past using the AllocConsole function, but I also recall that it was just a little trickier than I expected.
A quick Google search on AllocConsole yields what is apparently a Windows Developer Journal article that seems relevant. From there, the following seems similar to what I recall, vague as it is.