Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

.com executables

PuzzlerPuzzler Posts: 208Member
How do you make .com executables with QB?

Comments

  • billywm664billywm664 Posts: 176Member
    you don't. quickbasic outputs .exes. that's all.

    : How do you make .com executables with QB?
    :


  • BASIC FriendBASIC Friend Posts: 354Member
    : you don't. quickbasic outputs .exes. that's all.
    :
    : : How do you make .com executables with QB?
    : :
    :
    :
    I don't think you can make com's with QB. But, other compilers can, like MoonRock and BASM and Tokiwa can all produce both exe's and com's.


  • mstechcamstechca Posts: 64Member
    : How do you make .com executables with QB?
    :
    Try maing an .exe file, then change the extension to .com
    Since both .exe and .com represent applications, it should work.


  • billywm664billywm664 Posts: 176Member
    Yes that will work, but it won't actually be a .com program. I don't know the specific differences, but there are major ones between .exe and .com programs. One is progra size - .coms have a very limited program size in comparison to exes. I think it's 64KB so that they fit into one memory segment.

    : : How do you make .com executables with QB?
    : :
    : Try maing an .exe file, then change the extension to .com
    : Since both .exe and .com represent applications, it should work.
    :
    :


  • PuzzlerPuzzler Posts: 208Member
    : : How do you make .com executables with QB?
    : :
    : Try maing an .exe file, then change the extension to .com
    : Since both .exe and .com represent applications, it should work.
    :
    :

    Thanks for the cool info.

    BTW It doesn't matter if it's a real com file.

  • BASIC FriendBASIC Friend Posts: 354Member
    : : : How do you make .com executables with QB?
    : : :
    : : Try maing an .exe file, then change the extension to .com
    : : Since both .exe and .com represent applications, it should work.
    : :
    : :
    :
    : Thanks for the cool info.
    :
    : BTW It doesn't matter if it's a real com file.
    :
    Why do you even need a COM? Are you looking into writing a compiler?


Sign In or Register to comment.