You should really ask this over in fltk-general.
This is the wrong forum for this type of question.

> How i separate my interface FLTK from my program?
> 
> I need to create a separate interface with fltk, and 
> possibly, sostiutuable interface for use anything...
> 
> I've think to separate interface from my program...and so 
> i've choiche to create a DLL..
> 
> Now, if You suggest me another way, thanx!

I not sure I understand what you are asking - but I think the usual way
is to have your basic program communicate via some sort of port
(possibly just stdio if it is a command line app) then have the GUI you
have created spawn an instance of your command line app, and take
control of the input/output ends of the ports (or the inoput and output
ends of the stdio interfaces) and read/write to your command line app
that way.

There are any number of examples of this sort of thing on the web, so a
little googling should find you something you can copy. I think there
might even be worked examples on Greg Ercolano's FLTK Cheat Sheet pages.

For this sort of GUI shell function, fltk works quite well. There is no
reason to use a DLL to do this sort of thing.

Or, I could be answering the wrong question.
-- 
Ian



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

Reply via email to