October 30, 2025, 04:08:00 PM

News:

IWBasic runs in Windows 11!


Serial Comm Library 2.0 bug?

Started by ckoehn, September 07, 2012, 09:17:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ckoehn

The documentation says that the com ports can go up to 199.  I cannot open a com port over 9.

The timeout help also has a conflict with the timeout definition.  It says in one place that it is seconds and another that it is milliseconds.  I think seconds is right.  I wish it was milliseconds though.

Later,
Clint

ckoehn

I think that I know why it doesn't work.  I made my own serial routines and they didn't work either.  To open a Com Port with CreateFileA api call,  you have to use "\\\\.\\COMx"  instead of "COMx" as the file name.  With "\\\\.\\COMx" it will open all ports from 1 on up.

Later,
Clint

ckoehn

I was wondering if this issue has been resolved.   I did purchase the Serial comm lib and would like to see it work.  It DOES NOT open com ports over 9.  I have tested it.

I currently am using one that I made (it works),  but would like to have the one I paid for work also.

Later,
Clint

LarryMc

I don't have any com ports so I can't test.
LarryS will have to address this issue.
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

ckoehn

Thanks for replying LarryMc.

I know this may take awhile since he is busy.

All you have to do is install a usb to serial adapter and go into advanced settings and set the comport over 9.  Most of them install over COM9 anyway, depending on your system.

Later,
Clint

ckoehn

Just wondering if there is a time frame when Larry S can take care of this problem. I know $10 isn't much but ... :(

Later,
Clint

LarryMc

I have no idea.  I don't have access to the source code or I would try to fix it for you and let you test it.

Sorry
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Rock Ridge Farm (Larry)

I will try to look at this this week - have a small period without 40 executives over my shoulder this week then it starts again.

Larry

ckoehn

Thanks Larry S.

Appreciate it.

Later,
Clint

ckoehn

It doesn't look like Larry S. had time to look at it.   :)

Later,
Clint

LarryMc

I know he's really heavy into his regular job.

I'm still waiting for him to do some coding for the new IWB version.

I also know that you'll get what you need before I get what I need. ;)
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library