Article View: borland.public.cppbuilder.internet.socket
Article #2230Re: How to drive the LPT port lines ?
From: Tom Woodrow
Date: Thu, 29 Jun 2006 07:01
Date: Thu, 29 Jun 2006 07:01
33 lines
2431 bytes
2431 bytes
Wrong NG but google for TVicLPT ... works great Tom Woodrow didier wrote: > Hi everybody, > > I have to drive the output lines of the LPT (parallel) port > of my machine. The purpose is to trace with an oscilloscope > the exact duration of some tasks : I do that with setting a > LPT line at 1 in entering the task, and clearing this line > in quiting the task. This works perfectly. This is a way for > debugging progs...As we have 12 useable lines on LPT port > (58 data + 4 CTRL out), this is quite interesting. > > With Visual C++, i am using the _outp function associated with > a free tool called userPort 1.0 provided by : www.writelog.com/support > > the reason I use this crack tool is because I did not succeed in implementing the Win32 communications function (it works > well with serial com, but not with // port...). > > With Borland C++, the outportb function (and generally I/O > basic functions) is no more supported. The HELP in C++6.0 > indicates : > > "You can use a third party VCL component, or use the Win32 API CreateFile and the Win32 communications functions. For more information on this technique, refer to the Using the communications functions help topic in the Microsoft WinSDK help files." > > Has anybody already worked on this subject and find solutions ? > Any help would be appreciated. > > Thanks all. > didier
Technical Details
Message-ID:
<44a37ad0$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<44a223e9$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,62b9798118158f3d X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 29 Jun 2006 00:01:39 -0700 From: Tom Woodrow <tomwoodrow@comcast.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Re: How to drive the LPT port lines ? References: <44a223e9$1@newsgroups.borland.com> In-Reply-To: <44a223e9$1@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 24.6.92.22 Message-ID: <44a37ad0$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1151564496 24.6.92.22 (29 Jun 2006 00:01:36 -0700) Lines: 33 Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail