Browse DevX
Sign up for e-mail newsletters from DevX

Tip of the Day
Home » Tip Bank » C++
Language: C++
Expertise: Beginner
May 23, 1999



Building the Right Environment to Support AI, Machine Learning and Deep Learning

DOS to Windows Conversion

How do I convert a DOS file into a Windows program?

Unfortunately, not very easily. While DOS programs will run under Windows and you may also want to look into Windows console applications (which act pretty much like a DOS application running under Windows), the structure of a Windows application is very, very different from a DOS application.

DOS applications can use a variety of methods to get input from the user and to display information back. In Windows, you create a window and associated window procedure and your application has a main loop that calls GetMessage() and a few others, which direct various events to your window procedure. This process of only running code in response to the window procedure being called is referred to as event-driven programming.

DevX Pro
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date