🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13919

Re: Communication via LPT port

#13919
From: ScOe
Date: Mon, 08 Sep 2003 22:09
34 lines
1898 bytes
"Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message
news:3f5cf93a@newsgroups.borland.com...
>
> Please show your actual code.
>
        HANDLE  hLPT=CreateFile("LPT1",GENERIC_WRITE,0,NULL,
            OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL,NULL);
        if (hLPT!=INVALID_HANDLE_VALUE){
            DWORD dw;
            UCHAR dt = 0xff;
            WriteFile(hLPT,&dt,1,&dw,NULL);
            CloseHandle(hLPT);
>
> Gambit
>


-- 
                                                     ,,,
                                                   (o o)
*===============ooo0====(=)====0ooo================*
|       ScOe (mailto:sven.savic@zg.hinet.hr)
|
|       Homepage:
|
|       http://free-zg.hinet.hr/ScOe/
|
|       ICQ# : 9947311
|
*================================================*

"In the End, we will remember not the words of our enemies,
but the silence of our friends. " - Martin Luther King Jr. (1929-1968)
Technical Details
Message-ID: <3f5cfe18@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f5cf06b@newsgroups.borland.com> <3f5cf93a@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,d0bebb98df6a923e
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-09-08 15:11:16 PST
From: "ScOe" <sven.savic@zg.hinet.hr>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f5cf06b@newsgroups.borland.com> <3f5cf93a@newsgroups.borland.com>
Subject: Re: Communication via LPT port
Date: Tue, 9 Sep 2003 00:09:18 +0200
Lines: 37
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: 213.191.138.220
Message-ID: <3f5cfe18@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1063058968 213.191.138.220 (8 Sep 2003 15:09:28 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail