X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Andrew Cottrell Newsgroups: comp.os.msdos.djgpp Subject: Re: help on serial communication using DJGPP Date: Fri, 09 Apr 2004 11:20:33 +1000 Organization: HOME Message-ID: <19ub70tn7rl5q3b3p5e3f9c22t5rup8eoa@4ax.com> References: <20040408124015 DOT A19109 AT webster DOT tsc DOT com> <000001c41db0$c7fdb8c0$353f7d9e AT emilda> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 19 NNTP-Posting-Host: 202.154.115.197 X-Trace: 1081473142 news.syd.swiftdsl.com.au 27651 202.154.115.197 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >I have use a DJGPP to compile my serial communication program. It was no >problem when I compile the program using Visual C++ for windows. But >when I tried the same program using DJGPP, it shows lots of error. I >need to program my embedded PC under DOS, and that's why I used DGJPP. I >need a help about the serial communication. hope someone can help me. >Thanks. DJGPP is for DOS not Windows. The Windows serial API is not available for DJGPP and IMHO should never be made avaialble as it is such a horrible API. There are Windows serial libraries available from www.codeproject.com that have similar API to some of the serial libraries available fro DJGPP. There are a number of serial libraries available for DJGPP, they are available from the V2TK directory. Be aware that the latest PMCOM and DZCOMM are not available from the V2TK directory. If you do decide to use these please email me. Andrew