ntvdm regularly opens a blank command.com window

C

Chris

I recently ran an old turbo pascal program which crashed
a command.com window part of the program which worked
fine on 16 bit machines tried to output data to screen.

begin
GraphDriver := Detect;
InitGraph (GraphDriver, GraphMode, '');
Errorcode := GraphResult;
if ErrorCode <> grOk then
begin
Writeln('Graphics error:', GraphErrorMsg
(ErrorCode));
Writeln('(You probably don''t have a
graphics card!)');
Writeln('Program aborted.....');
Halt(1);
end;
maxX := getmaxX;
maxY := getmaxY;
end


Anyway, since that crash right up to now I have ntvdm
appearing in task manager applications and processes for
several seconds at a time, seemingly every time I start a
new application or check my email, and this results in a
command.com window which is blank and which dissolves of
its own accord after a new seconds.

the problem is pure nuisance value and stops me doing
anything until it gets out of the way.

I am fully up to date and scanned from front to back with
a totally updated Trend Micro. I am on XP SP2 and have
updated office family with service patches and security
patches. I am pretty happy that I am virus free and doing
all that right.

I think I have corrupted something in the pascal crash
and I am happy to send anyone the source code, the
executable and a data file + batch file if you want to
see it actually work. It is very simple and program is
quite short.

Chris
 
C

Chris

Sorry, there is more, I wanted to say that in the task
manager, in the applications section it says ntvdm
followed by a long list of digits and letters. This
varies and looks like a memory address or something.

the ntvdm that appears similtaneously in the processes
part of task manager just says ntvdm.exe

The window that this bad boy opens says across the top
(from my memory) c:\windows\system32\command.com or
something like that.

When I ran the pascal program, I first used RUN and
entered command.com which gave me a dos window and I then
typed in the name of my ancient bat program that kicks
off the complied turbo pascal executable.

However, after so many reboots, and NEVER running this
again, I am surprised that ntvdm is still in such a bad
mood.

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top