Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

windows executable

Status
Not open for further replies.

johnmmm

Technical User
May 23, 2002
1
US
Is it possible to make my qbasic programs window executable?
 
You can run them in in a DOS window, but to convert them to Windows executables, you'd have to modify and compile them in Visual Basic.
 
It is possible to write a windows program in QB. Windows supply's its own interrupt vector, meaning that you can create windows programs in any language which allows you to use interrupts. Read "Advanced assembly language", by steve holzner.

horrorclown@yahoo.com
 
While this is technically correct, it's actually using machine language (NOT assembly) in QBasic. And you have to have a list of the machine language byte values to PEEK, POKE, and/or CALL ABSOLUTE with, which is way harder than doing it in C, where you can use the assembly language mnemonics.
 
Not to mention that (with regards to the "using the Windows interrupt" idea) you can, I suspect, only access the 16-bit subsystem and thus are effectively limited to writing Windows 3.1 programs without the advantage of proper structures in memory and such (no pointers, either).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top