DOS resolution problem in Win2k

This is a discussion on DOS resolution problem in Win2k within the C Programming forums, part of the General Programming Boards category; hi!!! i am developing a editor in C(Turbo C) which runs in windows 2000. unfortunately, due to the higher resolution ...

  1. #1
    Registered User
    Join Date
    Dec 2002
    Posts
    7

    Question DOS resolution problem in Win2k

    hi!!!
    i am developing a editor in C(Turbo C) which runs in windows 2000. unfortunately, due to the higher resolution display of dos in win2k, my editor jus comes to half the screen, while in win98, it is displayed perfectly. is there any way i can get the same resolution of wat Turbo C editor gets..!!! shud i call any dos interrupts for this??
    thnx in advance,
    R Karthick

  2. #2
    and the Hat of Clumsiness GanglyLamb's Avatar
    Join Date
    Oct 2002
    Location
    between photons and phonons
    Posts
    1,109
    jup just call a dos interrupt to go into some kind of resolution...
    (and on exiting the app just go back to the usual reso of the app)

    The only disadvantage is that on a low reso printf to the screen will come out very large (a letter will be 4 time as big, or something like that )

  3. #3
    Registered User
    Join Date
    Dec 2002
    Posts
    7

    thnx

    ya it worked

    int86(0x10,&inregs,&outregs)

    thnx a lot for the reply :-)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Bin packing problem....
    By 81N4RY_DR460N in forum C++ Programming
    Replies: 0
    Last Post: 08-01-2005, 06:20 AM
  2. Words and lines count problem
    By emo in forum C Programming
    Replies: 1
    Last Post: 07-12-2005, 04:36 PM
  3. linked list problem
    By kzar in forum C Programming
    Replies: 8
    Last Post: 02-05-2005, 04:16 PM
  4. half ADT (nested struct) problem...
    By CyC|OpS in forum C Programming
    Replies: 1
    Last Post: 10-26-2002, 09:37 AM
  5. binary tree problem - help needed
    By sanju in forum C Programming
    Replies: 4
    Last Post: 10-16-2002, 06:18 AM

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