View Single Post
  #8   Spotlight this post!  
Unread 26-03-2006, 20:10
JJG13's Avatar
JJG13 JJG13 is offline
Yoda
AKA: Joshua Graffman
None #0180 (SPAM)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2003
Location: Martin County, Florida
Posts: 105
JJG13 has a spectacular aura aboutJJG13 has a spectacular aura aboutJJG13 has a spectacular aura about
Re: Using MCC18 in a custom program

Quote:
Originally Posted by EHaskins
I still haven't been able to find how to get the errors from the EXEs. If anyone can point me in the right direction i wound appreciate it.
Capturing data from a console application is a real pain. Fortunately others have already traveled that path and you can see what they have done by looking at the code of just about any open source IDE. I'd advise you to download the source for the Dev C++ IDE and find the RunAndGetOutput function in Utils.pas. The source code is in Delphi but it should be easily convertable to C# or Visual Basic.
__________________
Behold the power of SPAM.