<div>Peter Below (Team B) recomended this site and it looks promising ..</div>
<div> </div>
<div><a href="http://www.entechtaiwan.com/dev/index.shtm">http://www.entechtaiwan.com/dev/index.shtm</a></div>
<div> </div>
<div>Also Peter Below discussing something similar ..</div>
<div> </div>
<div>"It is marked as "undocumented", though. You better check a recent version of <br>Ralf Browns Interrupt List. I don't have an URL for it but any decent search <br>tool should be able to<font color="#000000">
</font><font style="BACKGROUND-COLOR: #ffffff" color="#ffffff"><font color="#000000">find</font> </font>it "</div>
<div> </div>
<div>Sorry Ross, never had to do it myself, but where/how does the USB get assigned to a LPT?</div>
<div>Is that somewhere to explore - is there a driver that does that?<br> </div>
<div>Paul<br> </div>
<div><span class="gmail_quote">On 19/12/2007, <b class="gmail_sendername">Ross Levis</b> <<a href="mailto:ross@stationplaylist.com">ross@stationplaylist.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div lang="EN-NZ" vlink="purple" link="blue">
<div>
<p><span style="COLOR: #1f497d">Thanks Paul, however, the first link is also only for DOS based systems up to Windows ME.</span></p>
<p><span style="COLOR: #1f497d"> </span></p>
<p><span style="COLOR: #1f497d">The Sergey Ageev component "DirectPort" is similar to what I am using already -- another component on that page called SmallPort. Both components allow accessing ports directly as you can in MS-DOS and up to Windows ME. I've been using SmallPort for a few years and it works fine up to Windows Vista.
</span></p>
<p><span style="COLOR: #1f497d"> </span></p>
<p><span style="COLOR: #1f497d">However, neither component provides a way to find the I/O address of a specific port. I'm currently using a unit which uses several HKEY_LOCAL_MACHINE registry locations to obtain the I/O address of an LPT port, but this is not working in the case of a USB based removable LPT port.
</span></p>
<p><span style="COLOR: #1f497d"> </span></p>
<p><span style="COLOR: #1f497d">All I need is the I/O address allocated to this LPT port. I don't need a component to access the port itself. It can be set as LPT1, LPT2, LPT3 etc in the configuration, but then how does a program see what LPT ports are available? There must be some way.
</span></p>
<p><span style="COLOR: #1f497d"> </span></p>
<p><span style="COLOR: #1f497d">Any further ideas?</span></p>
<p><span style="COLOR: #1f497d"> </span></p>
<p><span style="COLOR: #1f497d">Thanks,</span></p>
<p><span style="COLOR: #1f497d">Ross.</span></p>
<p><span style="COLOR: #1f497d"> </span></p>
<div style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<p><b><span lang="EN-US" style="FONT-SIZE: 10pt">From:</span></b><span lang="EN-US" style="FONT-SIZE: 10pt"> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:delphi-bounces@delphi.org.nz" target="_blank">
delphi-bounces@delphi.org.nz</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:delphi-bounces@delphi.org.nz" target="_blank">delphi-bounces@delphi.org.nz</a>] <b>On Behalf Of </b>Paul A Norman
<br><b>Sent:</b> Wednesday, 19 December 2007 12:18 a.m.<br><b>To:</b> NZ Borland Developers Group - Delphi List<br><b>Subject:</b> Re: [DUG] LPT ports</span></p></div><span class="q">
<p> </p>
<div>
<p>Dear Ross,</p></div>
<div>
<p> </p></div>
<div>
<p>Never used these, found them years ago(!), might be worth checking through and see if they give any routine for doing that. I am thinkinhg that one of the things below may have an iteration process for looking.</p></div>
<div>
<p> </p></div>
<div>
<div>
<p>Never done it myself though!</p></div>
<div>
<p> </p></div>
<div>
<p>Paul</p></div>
<div>
<p> </p></div>
<div>
<p>TRY://</p></div>
<div>
<p> </p></div></div>
<div>
<p><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.torry.net/authorsmore.php?id=1332" target="_blank">http://www.torry.net/authorsmore.php?id=1332</a></p></div>
<div>
<p> </p></div>
<div>
<p>This guy has had stuff on the net in the past <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Lars@dybdahl.dk" target="_blank">Lars@dybdahl.dk</a></p></div>
<div>
<p> </p></div>
<div>
<p>And look for Seergev Ageev on <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.torry.net/pages.php?id=227" target="_blank">http://www.torry.net/pages.php?id=227</a></p></div>
<div>
<p><br> </p></div>
<div>
<p><span>On 17/12/2007, <b>Ross Levis</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ross@stationplaylist.com" target="_blank">ross@stationplaylist.com</a>> wrote:</span> </p>
<div>
<div>
<p>Does anyone know of a way to find all LPT ports installed on a PC and the I/O address of the ports.</p>
<p> </p>
<p>Up to now I've been using a 3<sup>rd</sup> party routine I found on the internet which uses the registry to obtain this information, and this has worked well for years, but a user has installed a USB based LPT port and it doesn't appear in the usual place in the registry, although Windows sees it as LPT1.
</p>
<p> </p>
<p>I need the physical I/O address of the port as I need this to access the individual pins on the port, using a 3<sup>rd</sup> party device driver service which allows low level access to ports.</p>
<p> </p>
<p>Thanks,</p>
<p>Ross.</p></div></div></div>
<p> </p></span></div></div><br>_______________________________________________<br>NZ Borland Developers Group - Delphi mailing list<br>Post: <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:delphi@listserver.123.net.nz">
delphi@listserver.123.net.nz</a><br>Admin: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:delphi-request@listserver.123.net.nz">delphi-request@listserver.123.net.nz</a> with Subject: unsubscribe<br></blockquote>
</div><br>