On Thu, 18 Dec 2008, MacArthur, Ian (SELEX GALILEO, UK) wrote:

>> I'm having a problem with the windows build of my FLTK application.
>> Whenever I try to launch it from the file explorer or from a DOS
>> shell, cpu shoots up to 100%. However, if I run it from the MinGW
>> shell it launches as expected.
>>
>> I've made sure that it's compiled with -mwindows. I'm also sure
>> that I've had this behaviour before, but I can't remember what
>> I did at the time to resolve it, although I seem to recall it
>> had something to do with stdout being unavailable...
>>
>> Any ideas here?
>
> Paths?
>
> The "usual" source of differences between clicking and launching from
> the Msys shell is what cwd is passed to the app at startup, so if your
> app is looking for something and the default path is wrong...?

That may well be. I figured out that starting up the application with 
command line arguments will actually bring it up as it should, even
though simply double clicking it does not. It does indeed do some path
handling, so it probably has to do with that.

By the way, it's 1.1.7 on XP.

Best,
Marc

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

Reply via email to