Use COM (serial) port with QB64 and WINDOWS 7???

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
danube
Newbie
Posts: 2
Joined: Wed Jul 27, 2016 10:15 am

Use COM (serial) port with QB64 and WINDOWS 7???

Post by danube »

Hello folks,

I am new here, and I am encouraged to see recent posts about QB64, which I've found to be a very neat IDE.

Is there anyone here who has had success in communicating over the COM (serial) port of a PC running Windows 7? If so, I am very interested in hearing what you did to get it to work.

To date, I've been using version 1.00 of QB64 and INPUT32.DLL (the 64 bit modifications) from http://www.highrez.co.uk/downloads/inpout32/
I've gotten my code to work, but only when something else "opens" the port for me. It's very strange behavior.

To be clear, I am not interested in hearing about operation on XP - that is working. The problem I am having is on Windows 7, so I would very much like to hear from someone who has had luck getting that to work. Success with the parallel port would be a bonus, but I am at the moment only interested in the COM port.

Thanks in advance!

Dan
User avatar
burger2227
Veteran
Posts: 2466
Joined: Mon Aug 21, 2006 12:40 am
Location: Pittsburgh, PA

Re: Use COM (serial) port with QB64 and WINDOWS 7???

Post by burger2227 »

Better UPGRADE to Windows 10 soon! 7 is only good for 4 more years anyhow.

Try running it in XP mode.
Please acknowledge and thank members who answer your questions!
QB64 is a FREE QBasic compiler for WIN, MAC(OSX) and LINUX : https://www.qb64.org/forum/index.php
Get my Q-Basics demonstrator: https://www.dropbox.com/s/fdmgp91d6h8ps ... s.zip?dl=0
danube
Newbie
Posts: 2
Joined: Wed Jul 27, 2016 10:15 am

Re: Use COM (serial) port with QB64 and WINDOWS 7???

Post by danube »

Howdy,

If you mean running it in XP SP3 compatibility mode, that does not work either. Nor does running it in Win95 compatibility mode, nor NT.

Switching to Windows 10 is neither a solution nor an option. It is *less* likely to work. I, my co-workers, and very importantly our IT support team, are all sticking to this windows 7 ship until it sinks and we have no choice but to upgrade. If it ain't broke, don't fix it. So, looking for a solution to my serial port problem on this OS.

Thanks,

Dan
Post Reply