Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!uw-beaver!fluke!ssc-vax!simnet From: simnet@ssc-vax.UUCP (Aileen Hsu) Newsgroups: comp.windows.ms Subject: "Not enough memory to run" error Keywords: memory, error Message-ID: <3506@ssc-bee.ssc-vax.UUCP> Date: 17 Oct 90 18:29:32 GMT Organization: Boeing Defense & Space Lines: 28 I want to call the SYSTEM function inside my Microsoft Windows Application whenthe user select a particular menu item. The problem is every time the application attempts to execute the statement, a window comes up with the Command title and says "Not enough memory to run". I'm using Windows 286 ver. 2.0 and Windows SDK ver. 2.0 running on an Everex 386 machine. I have 640K conventional memory, 2 MB expanded and 4MB extended. My config.sys file has the following entries: DEVICE=EMM.SYS AT 208 ND BREAK=ON BUFFERS=10 FILES=20 LASTDRIVE=E SHELL=C:\DOS\COMMAND.COM /P /E:512 DEVICE=C:\SMARTDRV.SYS 512 DEVICE=C:\HIMEM.SYS DEVICE=C:DOS\ANSI.SYS INSTALL=C:C:\DOS\FASTOPEN.EXE C:=(50,25) DEVICE=QUIKMEM2.SYS 256 DEVICE=C:\UTIL\OX.SYS IF I do the mem command after window is brought up, the machine still has 450K conventional, 1.8MB expanded and 0 extended (don't know why) memory left. Is this not enough to call SYSTEM. The Windows application with the SYSTEM call is very simple, I created just to see if it would work. Can anybody out there help me with this since Microsoft no longer provides free support for their SDK? Any kind of help will be greatly appreciated. Aileen Hsu