Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

16 Bit Programs In Windows

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am having troubles with a particular 16 bit program in windows freezing up when I try to start it. Can anybody tell me how Windows handles 16 bit programs and whereabouts 16-bit programs run within windows (memory). Is there is any way I can adjust this? Any help would be appreciated thanks!
 
Windows 95/98 include both 16-bit functions and 32-bit funtions in the API. 16 bit programs share memory space with yhe rest of the system. 32 bit programs get their own memory space. 16 bit programs are managed cooperatively which means only 1 can run at a time. pretty much without another API program to regulate this , there is no way to adjust memory usage.

Jim
 
check under properties on the shortcut . Right click on shortcut and under advance options there are memory options - type of dos mode ( ie restart in dos mode ) and even an autoexec and config.sys you can set up if needed for your dos mode . the 16 bit program may run only under dos . Some programs don't run in Windows simulated dos mode and it may run under a restarted dos mode . 16 bit programs run in an unprotected mode that if it locks up so will other 16 bit programs that are unprotected .
 
Care to tell us what the 16 bit program is? Someone may have encountered the same thing before.
 
16-bit apps run under Windows 9.x/NT via a process called thunking. This attempts to translate 16-bit API calls to 32-bit via user.exe.

Applications designed to run under DOS often consume 100% CPU by a process of keyboard polling.

Under Windows NT, there is a checkbox to force the program to run in a separate memory space. I don't think this checkbox exists under 9x (I'm in a server lab at the moment, so can't check!).

Also under NT, there is a program called DOSKBD, which I use quite often with Terminal Server. It doesn't work with Windows 2000, but I've never tested it with Windows 9.x

These articles may help



Good Luck - what's the application? Post back if you get it fixed!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top