Re: Delphi problem with Laptop
- From: Jamie <jamie_ka1lpa_not_valid_after_ka1lpa_@xxxxxxxxxxx>
- Date: Tue, 26 Dec 2006 16:56:23 -0500
Old Fan wrote:
On 2006-12-24, Jamie () wrote inwell , then happy computering. have it your way.
message <yswjh.400$Yz7.23@xxxxxxxxxxxx>
Old Fan wrote:
On 2006-12-23, Jamie () wrote inaren't you still forgetting something in the file name?
message <aLhjh.273$Yz7.154@xxxxxxxxxxxx>
Gert Baars wrote:
FHandle := CreateFile(
PChar('\\.\' + FPort),
file name should be like
COM1: COM2: COM2: etc..
the use of \\.\ is for non mapped devices if i remember?
The prefix '\\.\' must be used for portnumbers > 9, e.g. '\\.\COM10'
the ":" after the number..
COM10: for example is a mapped port. , it does work ,just try it.
I don't know what mapped ports are , but for normal serial ports, the following is valid since NT4 and to this day:
<http://support.microsoft.com/kb/115831>
Regarding the : character, I'm guessing that Windows simply parses the port name until a match occurs.
--
"I'm never wrong, once i thought i was, but was mistaken"
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5
.
- References:
- Delphi problem with Laptop
- From: Gert Baars
- Re: Delphi problem with Laptop
- From: Jamie
- Re: Delphi problem with Laptop
- From: Old Fan
- Re: Delphi problem with Laptop
- From: Jamie
- Re: Delphi problem with Laptop
- From: Old Fan
- Delphi problem with Laptop
- Prev by Date: Re: getting an event handler from a active-x dll dispinterface
- Next by Date: Re: getting an event handler from a active-x dll dispinterface
- Previous by thread: Re: Delphi problem with Laptop
- Next by thread: local to screen
- Index(es):
Relevant Pages
|