Re: want ansi.sys loaded in the IDE when debugging



Beemer Biker wrote:

I have a C++ program (console shell) that runs on a linux system (bash)
and
on win32. Ansi escape code work fine for cursor positioning on bash. I
dont have ansi.sys loaded in XP PRO (or win2k). Is there a way to do it
in the debugger or the IDE?

I added device=%SystemRoot%\system32\ansi.sys in config.nt but it didnt
help. I thought this would have worked.

From the cmd prompt "mem /C" does not show ansi.sys loaded, nor even
himem
which was already in config.nt before I added the ansi.sys

I only want to run this program on win32 from the debugger ie: hitting F5.
It is much easier to debug in VC7.1 then using gdb. ie: I am not running
the .exe under emulation mode. It only runs on my PCs (Xp or Win2k) when
I am debugging.

Repeat this mantra "XP is not DOS".

Win32 does not support DOS device drivers. You can use ANSI.SYS for 16-bit
code running under command.com, you can't use it for win32 code.

..TIA..




--
--John
to email, dial "usenet" and validate
(was jclarke at eye bee em dot net)
.



Relevant Pages

  • want ansi.sys loaded in the IDE when debugging
    ... Ansi escape code work fine for cursor positioning on bash. ... I only want to run this program on win32 from the debugger ie: ... It only runs on my PCs (Xp or Win2k) when I ...
    (comp.sys.ibm.pc.hardware.storage)
  • want ansi.sys loaded in the IDE when debugging
    ... Ansi escape code work fine for cursor positioning on bash. ... I only want to run this program on win32 from the debugger ie: ... It only runs on my PCs (Xp or Win2k) when I ...
    (microsoft.public.vc.ide_general)
  • what is the best choose fork or thread?
    ... I have a project must send a lot of file in win2k at the same time. ... Can the perl build-in function fork work in win32? ... Or the perl build-in thread is good solution ...
    (comp.lang.perl.misc)
  • Re: Debugging JNI shared libraries
    ... >compiles OK on Win32 when I have teh requisite stuff installed and I'm ... >DllMain gets called, attach to the dll? ... code as far as the debugger is concerned). ...
    (comp.programming)
  • vsjitdebugger error?
    ... I have a native win32 c++ application which I'd like to debug. ... it actually is a valid Win32 application. ... the command line just fine (assuming I remove the Debugger value from ...
    (microsoft.public.vc.debugger)