Win16 subsystem has no resources

S

stefan_acs

Hi all,

every time I run an old 16 bit application which consists of a database
(Raima), a RS232 Communication module and an analyser module on my XP
PRO PC, I get the error meassage "The win16 subsystem has insufficient
resources to continue..." after 1 or two hours. Unfortunally I'm not
able to run this applications in different virtual machines because
they use DDE for communication.

Hopefully someone out in the world can help me.
 
A

Alex Nichol

stefan_acs said:
every time I run an old 16 bit application which consists of a database
(Raima), a RS232 Communication module and an analyser module on my XP
PRO PC, I get the error meassage "The win16 subsystem has insufficient
resources to continue..." after 1 or two hours. Unfortunally I'm not
able to run this applications in different virtual machines because
they use DDE for communication.

This is unlikely to refer to memory in windows at all. Adjusting VM
will not help. It may arise from limited 'conventional' memory in the
DOS environment; the term 'resources' is too vague to be sure. But For
best DOS conventional memory, edit the windows\system32\config.nt and
autoexec.nt files.

In config.nt have (apart from the large number of REM lines) just
EMM = B=4000 RAM
(note the exact spaces - either side of the first = and before RAM,
none next to the second =) and

dos=high, umb
device=%SystemRoot%\system32\himem.sys
files=40
(or higher files= if needed)

and in autoexec.nt have

REM Install DPMI support
lh %SystemRoot%\system32\dosx

with other earlier lh lines REM ed out, and then any SET or PATH lines
that may already be present at the end.

This should give about 612K for a program, run from a shortcut made to
its .exe file. R-click the shortcut, Properties and on the Memory page
you can set an explicit value - rather than Auto - for any EMM or XMS
memory it may need (whiich may also be the trouble) , and for initial
environment space
 

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