Matt Gerrans
Posts: 1153
Nickname: matt
Registered: Feb, 2002
|
|
Re: Using java from command line
|
Posted: Oct 7, 2005 9:32 PM
|
|
In whatever language you are using VB or C++, you'll need to look at the process creation APIs. When you create a process, you can get handles for both its standard out stream and its standard error stream. Reading these, while the compiling progresses allows you to show the messages in a different color (for exmples) than the errors.
What are you using to start the process? If you can do this in C# (or even managed C++ or VB.NET), you can use the .NET process API which makes this stuff very easy.
|
|