home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.win32
- Path: sparky!uunet!news.univie.ac.at!chx400!aragorn.unibe.ch!news
- From: duling@vaxc.niehs.nih.gov
- Subject: re: NT Won't Install: TRAP 0E - PAGE FAULT
- Message-ID: <1992Nov18.230603.29211@aragorn.unibe.ch>
- Summary: NT console app won't share cpu !!!!
- Keywords: NT, multitasking, console
- Sender: David R. Duling
- Organization: University of Berne, Switzerland
- References: <paul.382.721920597@ace.acadiau.ca>
- Date: Wed, 18 Nov 1992 23:06:03 GMT
- Lines: 46
-
- HEY! - has anyone out there tried to multitask with a
- console mode application ?
-
- I've found that if a Win32 console mode application is
- computing WITH THE FOCUS, whether or not it is accessing
- the screen io, everything else stops. However, if a Win32
- GDI application is computing with the focus, then console
- mode and GDI mode applications (those in the background)
- continue to compute.
-
- What is going on here. Microsoft, are you listening ?
-
- Furthermore, a Windows NT console mode program, supposedly
- a 32 program executing in a pre-emptive 32 bit environment,
- executes more slowly than a 16bit DOS compiled program in
- a default dos box in DOS/Windows 3.1 ! About 10% more
- slowly, and that is if the Win32 app has the focus !
-
- I very much need to know the answer to this dilemma, and
- if Microsoft considers this a problem and will fix it, or
- am I missing something here ? We should be able to take
- nice ANSI C code, port it from any other OS, and with minor
- changes, run the character mode application in a good
- pre-emptive multitasking environment.
-
- - MY SETUP:
- Dell 450DE/2 - 16MB RAM, 30MB swapfile
- cl386 -c -G3 -W3 -Di386=1 *.c
- link -subsystem:console -entry:mainCRTSetup -out:test32.exe \
- *.obj libc.lib ntdll.lib kernel32.lib
-
- I then run test32.exe , which is a floating point calculation
- intensive program with very little screen output.
-
- 1. Test32.exe with focus and ~5 other Win32 GDI apps = 667 seconds
- 2. Test.exe with focus in DOS/Windows3.1 default dos box = 558 seconds
- where test.exe is produced by the Borland C++ 3.1 compiler.
-
- The code is identical !!
-
- I need answers!
-
- -- Dave Duling
- Laboratory of Molecular Biophysics
- National Institute of Environmental Health Sciences
-
-