> 
> I am trying to do a serial port application that I want to 
> compile in both
> windows and unix environment.


There are lots of cross-platform serial-port libs around, google should
find you something. One that springs to mind is the one in wxWidgets - I
think they call it "ctb" or something?

Failing that, if you only want to do straightforward i/o operations, it
is pretty straightforward to write your own, with a few ifdefs to handle
the win32 "special cases". In general (as is often the case) the win32
API is more awkward than the unix one.

I thought I had a worked example of this, actually, but can't find it
now. Possibly on another machine...
-- 
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 mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to