AboutAlex Barry Expertise I have been a qbasic programmer since 2000, creating games, minor libraries and various small programs. I have experience using interrupts, graphics, file input/output, the mouse cursor, and using libraries. I have also learned FreeBASIC, c/c++, python, php and html.
I do not claim to be an absolute authority in any language, but I don't mind looking things up and learning with you.
Experience Hobby programming since 2000
I no longer belong to any community programming groups, but do have knowledge of *basic dialects and C/C++
Question Hi Alex, Me again.
Thanks for your help so far.
I have your code up and running.
The reason I tried it was that the two
mouse programmes I had caused my computer to freeze.
Unfortunately so dose the code you have supplied.
I am running windows XP but run QB in 95 mode.
Is there anything else I could try as I like to include
both keyboard and mouse controls in my programmes.
Hope you can help.
Bill.
Answer Hey, Bill,
A thought just occured to me, this may not help though, but in the UDT for RegType, there is a "es" and "ds" variable defined at the end - get rid of those, then try. That is just a shot in the dark, and I don't know if it will work.
My next suggestion will be using DosBOX - Windows does not have great support for old DOS applications, but DosBOX should run it with no issue.
If this doesn't help, try downloading QBasic4.5, then creating this batch file:
@ECHO OFF
mouse.com
qb.exe /h
That enables a DOS mouse driver (mouse.com), but I don't think it comes with QBasic 1.1 :(