delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/04/09/09:23:44

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "mohd hamizi ahmad" <M DOT H DOT Ahmad AT lboro DOT ac DOT uk>
To: <djgpp AT delorie DOT com>
Subject: RE: help on serial communication using DJGPP
Date: Fri, 9 Apr 2004 14:22:54 +0100
Message-ID: <000701c41e35$c747adc0$353f7d9e@emilda>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2627
In-reply-to: <19ub70tn7rl5q3b3p5e3f9c22t5rup8eoa@4ax.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
X-Scan-Signature: 88a77c7b14e2ecbc2d1c84e6ad8f3806
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Actually, I want to create a serial com for DOS. That's why I use DJGPP.
But I don't know how to configure the serial port in DOS. My system
using DOS as an operating system. Hope you can help me. I've no idea
about configuring serial port in DOS.

-----Original Message-----
From: Andrew Cottrell
[mailto:andspamtrap DOT at DOT swiftdsl DOT dot DOT com DOT dot DOT au AT unknown DOT addr] 
Sent: Friday, April 09, 2004 2:21 AM
To: djgpp AT delorie DOT com
Subject: Re: help on serial communication using DJGPP

>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



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019