Article View: borland.public.cppbuilder.nativeapi
Article #10594Re: rs232 under XP
From: Pete Fraser
Date: Tue, 30 Mar 2004 09:32
Date: Tue, 30 Mar 2004 09:32
16 lines
1489 bytes
1489 bytes
You aren't allowed to write to ports directly under NT/2k/XP. You need to use the driver to do this. Look at CreateFile/WriteFile/ReadFile which is the correct way to do this. There are also some components that allow you to work over all platforms with RS232 ports. See torry.net for more details (some are even free) HTH Pete "Martin" <anonymous@anonym.net> wrote in message news:40693a3f@newsgroups.borland.com... > Hello, > > I have written a tool for RS232 and it worked fine under win95/98/98SE. Now > i have XP and it doesnt run anymore. > > Where could be the problem?
Technical Details
Message-ID:
<40693ec0$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40693a3f@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,8913094e963c267d X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-03-30 01:39:40 PST From: "Pete Fraser" <pete._no_spam_fraser@frasersoft.nospam.net> Newsgroups: borland.public.cppbuilder.nativeapi References: <40693a3f@newsgroups.borland.com> Subject: Re: rs232 under XP Date: Tue, 30 Mar 2004 10:32:47 +0100 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 195.12.18.1 Message-ID: <40693ec0$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1080639168 195.12.18.1 (30 Mar 2004 01:32:48 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail