printf works in my tests. In VC 7.1 (VS.NET 2003), I created a new Win32 Project, added #include <stdio.h> at the top and a printf statement in _tWinMain, built it, then ran it from VBP (with Run Program step marked to not hide the app window). After closing the program's window, the printf output was captured and logged by VBP.
|