> BUT... When I comment the large loading of data, it do not 
> crash anymore...,
> Also I tried to make the loading of data at the beginning of 
> the exe, and it runs without problems...
> 
> Does it make sense to you?  because it does not for me...


This sounds a lot like an incorrectly initialised pointer or a too-small
buffer allocation.
You are overwriting some resource somewhere.

> my only hypothesis, is that there are strange interaction 
> between my memory allocation or fopen/fread/fclose/... and FLTK.

> is FLTK multithreaded by default ?

No.

> can it be the source of the problem?
> Have you an idea to solve it?


What does the debugger say when you run your code through it? 
If there is an overflow or misallocation I'd expect the debugger would
at least be giving you some indication of what was awry?




SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

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

Reply via email to