Thread: DOS resolution problem in Win2k

  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,110
    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, 05:20 AM
  2. Words and lines count problem
    By emo in forum C Programming
    Replies: 1
    Last Post: 07-12-2005, 03: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, 08:37 AM
  5. binary tree problem - help needed
    By sanju in forum C Programming
    Replies: 4
    Last Post: 10-16-2002, 05:18 AM