> I have a FLTK app, this APP do a load library (DLL) and call 
> a DLL function.

This looks like fltk-2 code, so you may not get as much support, fltk-2
is largely orphaned right now, and never came out of alpha.
You might get better support of you switch to fltk-1.3 or the stable
fltk-1.1.10 series.

Anyway, under WinXX, AFAIK, if you are using fltk from a DLL and in your
own code, then the only way to resolve the symbols between the two is to
have all your code bind to fltk in a DLL, you can't really have part of
your code static linked to fltk and part using fltk in a DLL...

It appears, from a brief look at the code, that there is a fltk run()
loop inside the DLL, so that would mean that your code would in effect
have two run loops - that's not going to work.

> The DLL have a FLTK interface too, but when I call show 
> method from DLL interface it no painted, the operation occur 
> correctly but the interface isn't painted.
> 
> If I use a Windows APP the DLL interface appear ok.

That would be, I suspect, because then you only have one fltk run() loop
(the one in the DLL) and all is well.


> Below a got part of the code that I use.
> 
> I'm using a thread because I have to access a biometric device.
> 
> I don't known what I'm doing wrong..

Why is the stuff that's shown as being in the DLL not just part of your
main app? 
Having the fltk run() process inside the DLL is just madness - that
needs to be sorted out first.

You need to have just one fltk run() process, preferably in the main
thread of the code, and not in a DLL.



SELEX Galileo Ltd
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-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to