wxWidget programming serial I/O devices across platforms
YAP
x112358 at gmail.com
Thu Jan 3 15:04:39 PST 2008
Attached two classes I use.
/Ake
On Jan 3, 2008 11:29 PM, Mark L. Wise <mark at alpha2.com> wrote:
> Hello all!
>
> I am in the process of writing an application in wxWidgets that will
> need to run on both Windows and Linux.
>
> 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 portab=
le?
>
> TIA,
>
> Mark
>
> --
> Mark L. Wise
>
> Alpha II Service, Inc.
> 1312 Epworth Ave
> Reynoldsburg, Ohio 43068-2116
> USA
>
> Office: (614) 868-5033
> Fax: (614) 868-1060
> Email: mark at alpha2.com
> WEB: www.alpha2.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
>
-- =
---
Ake Hedman (YAP - Yet Another Programmer)
eurosource, Brattbergavagen 17, 820 50 LOS, Sweden
Phone: (46) 657 413430 Cellular: (46) 73 0533 146
Company home: http://www.dofscandinavia.com
Kryddor/Te/Kaffe: http://www.brattberg.com
Personal homepage: http://www.dofscandinavia.com/akhe
Automated home: http://www.vscp.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: com_linux.cpp
Type: text/x-c++src
Size: 12609 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wx-users/attachments/20080104/75=
760a02/com_linux.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: com_linux.h
Type: text/x-chdr
Size: 6607 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wx-users/attachments/20080104/75=
760a02/com_linux.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: com_win32.cpp
Type: text/x-c++src
Size: 6881 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wx-users/attachments/20080104/75=
760a02/com_win32.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: com_win32.h
Type: text/x-chdr
Size: 5047 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wx-users/attachments/20080104/75=
760a02/com_win32.h
More information about the wx-users
mailing list