dos to win32 console

This is a discussion on dos to win32 console within the C Programming forums, part of the General Programming Boards category; I have been compiling my program for DOS. Now that I want access to the Windows API I chose to ...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    380

    dos to win32 console

    I have been compiling my program for DOS. Now that I want access to the Windows API I chose to compile my program for console. After compiling and executing the program I find that it doesn't look like its DOS version. The major problem in the conversion is with my file routines which I had posted yesterday.
    Is this windows fault?
    Don't you dare hit me on the head, you know I'm not normal.
    A Stooge Site
    Green Frog Software

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,673
    Are you talking about this thread?

    What exactly is the problem?

    gg

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    380
    Yes, that's the file routine that I'm using. In the dos version it says there are two entries in the file while with the windows version it says theres only one. I have attached my problem for you see.

    There is my problem.
    Attached Files Attached Files
    Don't you dare hit me on the head, you know I'm not normal.
    A Stooge Site
    Green Frog Software

  4. #4
    Registered User
    Join Date
    Aug 2001
    Posts
    380
    sizeof gives me 2004 bytes for windows and 2002 bytes for dos.
    Don't you dare hit me on the head, you know I'm not normal.
    A Stooge Site
    Green Frog Software

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. making a stealthy win32 console application?
    By killdragon in forum C++ Programming
    Replies: 3
    Last Post: 09-08-2004, 02:50 PM
  2. confusion win32 -console app
    By GanglyLamb in forum C Programming
    Replies: 2
    Last Post: 06-11-2003, 10:12 AM
  3. Win32 Console App... multiple console buffers
    By Trauts in forum Windows Programming
    Replies: 2
    Last Post: 04-28-2003, 11:26 AM
  4. DOS program versus DOS console program
    By scromer in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 01-10-2002, 12:42 PM
  5. Using X,Y Coords in DOS Console
    By BigSter in forum C++ Programming
    Replies: 5
    Last Post: 12-11-2001, 07:39 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21