Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Borland Delphi > Re: Opening COM...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 7 Topic 3831 of 3888
Post > Topic >>

Re: Opening COM10 and COM15

by Jamie <jamie_ka1lpa_not_valid_after_ka1lpa_@[EMAIL PROTECTED] > Jul 7, 2008 at 05:55 PM

Kevin Urben wrote:

> What a coincidence ! I had that same problem today !
> 
> I use this API call to open a ****t:
> 
> hComm::=CreateFile('COM10',  GENERIC_READ or GENERIC_WRITE,   0,  NIL, 
> OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, 0);
> 
> it returned hComm=INVALID_HANDLE_VALUE.
> 
> Must be a problem with this API call for COM>9.
> 
> 
> 
There is one thing people keep leaving out..
  and that is the ":"
  'COM10:';
etc///
also...
   the last time I knew, you could only open the ****t in
one directly per handle.
  you are doing it in both.
it's also possible the OS didn't map it in the registry which it should
have..
using the "\\\.\\xxxx" may be required but I don't see why.


http://webpages.charter.net/jamie_5"
 




 7 Posts in Topic:
Opening COM10 and COM15
jodleren <sonnich@[EMA  2008-07-07 01:42:06 
Re: Opening COM10 and COM15
"Kevin Urben" &  2008-07-07 22:04:30 
Re: Opening COM10 and COM15
Jamie <jamie_ka1lpa_no  2008-07-07 17:55:36 
Re: Opening COM10 and COM15
"Kevin Urben" &  2008-07-08 11:07:36 
Re: Opening COM10 and COM15
"Terry Russell"  2008-07-09 00:20:03 
Re: Opening COM10 and COM15
"Kevin Urben" &  2008-07-08 23:53:43 
Re: Opening COM10 and COM15
Jamie <jamie_ka1lpa_no  2008-07-07 17:18:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Aug 28 5:38:51 CDT 2008.