View Single Post
  #1  
Old 02-28-2008, 05:35 AM
DuncanL DuncanL is offline
Registered User
 
Join Date: 07-26-2007
Posts: 29
Console output from Win32 app

Is it possible to output text strings from a C Win32 application that will be captured by VBP?

Basically we have a utility that supports a command line mode to suppress any message boxes and other UI, but I'd like to be able to send any error strings back to the VisualBuild Pro log.

I can do this from a Visual Basic app with ConsoleWrite(), but this other utility is in C and I can't find an equivalent.

Using AttachConsole() and writing to that sort of works from an command prompt (the output is not very tidy, but good enough), but this is not captured by VBP.
Reply With Quote