You were right, I missed that. It's working much better now thank you!

I only have one small problem left, but I'm sure I'll figure that out. if the 
file doesn't exist, the line saying "file does not exist" doesn't show up on 
either screen, but that can be remedied and is likely not going to be possible 
in my program. Thanks again for your help!


Adam

> adam wrote:
> > I tried compiling the code u sent, and I'm getting errors.
> > I use quincy2005 which uses the mingw compiler. errors are:
> > "
> > 23: error 'vsprintf_s' was not declared i this scope
> > 52: error 'sprintf_s' was not declared in this scope
> > "
>
>     If you mean the code on the google groups link, that's a program
>     intended for Microsoft's VS compiler.
>
>     If you're using something else, you might need to add some #include's
>     check your compiler's docs for those functions shown above, and see
>     what file needs to be #include'ed, then add those at the top.
>
> > That's just one program I'm calling. The other program I'm calling
> > will show show nothing in the GUI window, but everything in the console.
> > regardless of if its job was successful or not.
>
>     Are you sure you added the "2>&1" to your popen() command?
>     Maybe you missed this part of my previous reply:
>
>
> >>    If you want popen() to grab /both/ stdout /and/ stderr
> >>    from the app, you'll need to invoke the app with 2>&1, eg:
> >>
> >> popen("yourapp -arg1 -arg2 2>&1", "r");
> >>                            ^^^^

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to