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