Domingo Alvarez Duarte wrote:
>> I've received the device.exe sent by email and it remains zombie, but
>> now I noticed that with only opening the "Printer selection dialog" and
>> canceling is enough to remain zombie.
>>
>> - Executing device.exe and closing it's window: Ok no zombie !
>>
>> - Executing device.exe click on "Print" button, XPS printer is the
>> default printer, the "Printer dialog" is shown, click on cancel button
>> and closing device.exe window: device.exe remain zombie !
>>
>> My system is Windows Vista Home Edition.
>
> Executing test/print.exe and test/cube.exe doesn't remain zombie, the
> problem only happen with device.exe.
>
> I even tried this, and it remains zombie with only opening the "Print
> dialog" canceling and closing the window:
>
> void print(Fl_Widget *, void *w) {
> Fl_Widget * g = (Fl_Widget *)w;
>
> Fl_Printer p;
> //p->page(Fl_Printer::A4);
> //p->place(g, 70, 70, p->page_width() - 140, p->page_height() - 140,
> FL_ALIGN_CENTER);
> if ( p.start_job(1) ) return;
> if ( p.start_page() ) return;
> p.print_widget(g);
> p.end_page();
> p.end_job();
> };

Doing more tests I discover that if I comment Fl_Clock it doesn't remain 
zombie.

//  new Fl_Clock(360,230,120,120);

So could be something with mixing Fl_clock with "Printer dialog", maybe 
Fl_Clock starts any thread ??? or it's casuality and the problem is 
memory overwite.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to