12-19-2011 04:06 AM
Hi to all,
I wrote a console-app - works fine all the time.
Now the User of the app wants to set up some parameters.
I decided to load a panel to set the parameters.
After setting all the params the user have to check the resume button to return to console.
My Callback function fetches the params and THEN I call DiscardPanel() ..
But now - program stops because the Callback did not jump to the point where I loaded the panel.
My Workaround: using longjmp() and setjmp()
I'm not amused about my solution.
Someone knows a better solution to return from a Callback in console app?
Thanks for your advice ..
Solved! Go to Solution.
12-20-2011 07:50 AM
I got it ...
DiscardPanel (1);
QuitUserInterface (return code); <--- solution