Thread: Programs run in dos. Why not windows?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #14
    Registered User Liam Battle's Avatar
    Join Date
    Jan 2002
    Posts
    114
    Well bud before you do anything learn how to code a win32 GUI... pure DOS applications (not win32 bit console applications) are written in 16bit code. now, when translating them into a win32 gui, you will loose percision and have errors.

    So the fact is learn how to write win32bit GUI applications, with the WINAPI or MFC, then rewrite your DOS code in the new program.

    its that simple..

    the DOS GUI and the WIN GUI, are just front end code...
    so what ever DOS GUI you did is now garbage.

    your back end code should be very easibly ported for the WIN32 environment.

    Im guessing you are new to C++ on a windows system?
    Last edited by Liam Battle; 05-15-2002 at 02:10 PM.
    LB0: * Life once school is done
    LB1: N <- WakeUp;
    LB2: N <- C++_Code;
    LB3: N >= Tired : N <- Sleep;
    LB4: JMP*-3;

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 12-22-2006, 08:45 PM
  2. Codec Bitrates?
    By gvector1 in forum C# Programming
    Replies: 2
    Last Post: 06-16-2003, 08:39 AM
  3. POSIX/DOS programs?
    By nickname_changed in forum C++ Programming
    Replies: 1
    Last Post: 02-28-2003, 05:42 AM
  4. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM
  5. Shut off DOS screen automatically to Windows
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 11-08-2001, 07:14 PM