loading ANSI.SYS under win2k

This is a discussion on loading ANSI.SYS under win2k within the C Programming forums, part of the General Programming Boards category; hello everyone. im sure this has been asked 38439449 times, but i did a search before i even regestered but ...

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

    loading ANSI.SYS under win2k

    hello everyone. im sure this has been asked 38439449 times, but i did a search before i even regestered but i got nothing. i need to figure out a way to load ansi.sys into windows 2000 so that my C programs can use the ansi escape codes.
    so far, i've loaded c:\winnt\system32\ansi.sys
    into the c:\winnt\system32\config.nt file but it has yet to work
    i've search google, but thats the only thing i ever come up with. is there a work around for this?

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    not 100% sure but i dont think ansi.sys is compatable with win2k.
    If that information is anywhere it will be on msdn
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  3. #3
    Registered User
    Join Date
    Dec 2002
    Posts
    221
    how about with borland
    the problem is that i need a way to specifically sya where i want color
    everything else i've dealt with sets, lets say, all of the backround color one color
    i need specific reigions

  4. #4
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    SetConsoleTextAttribute is a win32 api function. All compilers capable of compiling c/c++ for windows will have access to this function. The required header is <windows.h>.For api reference msdn is a behemoth but also invaluable.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  5. #5
    Registered User
    Join Date
    Dec 2002
    Posts
    221
    restrictions we have is that it has to be Ansi C compliant (but we can use conio.h)
    and im using borland 5.01

  6. #6
    moi
    moi is offline
    Registered User moi's Avatar
    Join Date
    Jul 2002
    Posts
    946
    Originally posted by revelation437
    Ansi C compliant (but we can use conio.h)
    /me laughs his drink onto his monitor
    hello, internet!

  7. #7
    Registered User
    Join Date
    Dec 2002
    Posts
    221
    Originally posted by moi
    /me laughs his drink onto his monitor
    i didnt make up the rules

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Cargo loading system
    By kyle rull in forum C Programming
    Replies: 1
    Last Post: 04-20-2009, 01:16 PM
  2. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 02:30 PM
  3. Loading a bitmap (Without using glaux)
    By Shamino in forum Game Programming
    Replies: 7
    Last Post: 03-16-2006, 09:43 AM
  4. need help with .md3 file loading
    By Shadow12345 in forum Game Programming
    Replies: 2
    Last Post: 12-06-2002, 04:06 PM
  5. Loading Screen
    By pinkcheese in forum Windows Programming
    Replies: 2
    Last Post: 04-06-2002, 11:48 PM

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