wxWidget programming serial I/O devices across platforms

Jim Battle frustum at pacbell.net
Thu Jan 3 19:22:19 PST 2008


On Jan 3, 4:29 pm, m... at alpha2.com ("Mark L. Wise") wrote:
...
> I need to open and read/write ascii data to serial I/O ports (COM1 and
> COM2 in windows, /dev/ttyS0, ... in Linux).
>
> 1) Does anyone have any information regarding how to program serial
> ports in both of these environments, and
> 2) are there any classes in wxWidgets that can help make this code portable?

Mark,

I think the canonical answer is

    http://www.iftools.com/ctb.en.html
    http://wxcode.sourceforge.net/showcomp.php?name=wxCtb






More information about the wx-users mailing list