Compile for Dos

Posted on 2006-04-28
Medium Priority
Last Modified: 2010-04-05
I've made a program in D7 that I want to run in an msdos 6.20 environment. When I try to run it now I get "This program must be run in Win32". Is there any way of compiling it so that it'll run in dos mode? It's a console app only using sysutils atm.

Question by:Aqueath
LVL 12

Accepted Solution

AmigoJack earned 500 total points
ID: 16561117
a console application is something completely else than a dos executable. i think everything youre doing under delphi will compile to win32 images, since also sysutils finally point to winapi-calls. i doubt youre able to do this with delphi - you should head for turbo pascal instead.
LVL 13

Expert Comment

ID: 16572949
not possible, Delphi is a compiler for Win32

FreePascal might help you

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question