delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | "Anthony" <akantsel AT integra DOT rmt DOT ru> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Is there any RS232 lib? |
Date: | Fri, 26 Mar 2004 12:38:56 +0300 |
Organization: | Radio-MSU NOC, Moscow State University |
Lines: | 41 |
Message-ID: | <c40to8$1ai7$1@alpha2.radio-msu.net> |
References: | <c3rtis$1ip1$1 AT alpha2 DOT radio-msu DOT net> <rc0560d7kovmchnmrg77a5edr9kf2tdhr4 AT 4ax DOT com> |
NNTP-Posting-Host: | integra.rmt.ru |
X-Trace: | alpha2.radio-msu.net 1080293961 43591 81.13.30.150 (26 Mar 2004 09:39:20 GMT) |
X-Complaints-To: | usenet AT radio-msu DOT net |
NNTP-Posting-Date: | Fri, 26 Mar 2004 09:39:20 +0000 (UTC) |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 6.00.2600.0000 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"Andrew Cottrell" <andspam at swiftdsl dot com dot au> ???????/???????? ? ???????? ?????????: news:rc0560d7kovmchnmrg77a5edr9kf2tdhr4 AT 4ax DOT com... > >Could someone please point me at a good C++ class (or lib) that implements > >RS-232 data exchange protocol? > > There are a number of comms libraries in the V2TK directory. I use > PMCOM library, but in the past have used a number of others. > > Overall before selecting one check that they have the facilities you > want. For example if you need wakeup mode or ability to be interrupted > whan a status bit changes or some are in C and some are in assembly. > > Regards, > Andrew > I've downloaded the pmcomm10 package and tried to build the library, but got this: c:\DJGPP\contrib\pmcom>make gcc -c -s -O1 -Wall -o rel/com.o com.c com.c:285:10: pasting "(" and "0" does not give a valid preprocessing token com.c:285:10: pasting "(" and "0" does not give a valid preprocessing token com.c:285:10: pasting "[" and "0" does not give a valid preprocessing token ... a lot of these on every COMWRAP(.); call in com.c ... com.c:326:11: pasting "[" and "15" does not give a valid preprocessing token com.c:326:11: pasting "(" and "15" does not give a valid preprocessing token com.c: In function `COMHandler': com.c:546: warning: type defaults to `int' in declaration of `nLastBit9' com.c: At top level: com.c:2510: warning: ignoring #pragma argsused com.c:2551: warning: ignoring #pragma argsused make.exe: *** [rel/com.o] Error 1 How did you deal with it? Thanks. Anthony.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |