Hello thereI am having a really big problem here (well actually someone else but I was kindly asked to fix it) and it is giving me headaches. He has been running a dos based program on windows 98 for years but just now an update came out which causes errors during certain operations such as printing. The problem is there isn't enough conventional memory available. The FAQ from the site addressed this problem and offered a solution.
Requirements for the program to run:
* Minimal of 590 Kilobytes conventional memory free.
* Minimal of 10 Kilobytes of Upper-Memory-Blocks free.
* share.exe can not be loaded.
* Filehandles=150 in config.sys.
* Localloadhigh=on in system.ini.
-----------------------
Solution:
This applies for Win 95 and Win 98, not for NT. You have to check your config.sys and system.ini (Start/Run.. sysedit), the followings must be in:
Config.sys:
DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE NOEMS
DOS=HIGH, UMB
FILES=150
BUFFERS=20
Autoexec.bat:
ECHO OFF
PROMPT $p$g
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;
MODE CON CP PREPARE=((852) C:\WINDOWS\COMMAND\EGA.CPI) here 852 stands for Hungarian code page (chose else for other countries)
MODE CON CP SELECT=852
LH KEYB HU, ,C:\WINDOWS\COMMAND\KEYBRD.SYS here HU is the Hungarian country code (chose else for other countries)
System.ini:
[386enh] at the end of this section
LocalLoadHigh=On
If you check your memory with the Dos command MEM/c/p the available memory under 1 MB should be between 625Kb and 700 Kb depending on the database size and you license structure.[/quote]
Whatever I do I cannot get enough free memory. Even when I follow the steps above. I have 30 kb UMBs which are ALL being used. How can I make some of thos UMBs avaliable?
------------------------
This is how the autoexec.bat looked initially
@echo OFF
SET PATH=%PATH%;c:\DMI\WIN32\BIN;"C:\ProgramFiles\MicrosoftSQLServer\80\Tools\Binn\";"C:\ProgramFiles\EA\bin"
SET WIN32DMIPATH=c:\dmi\win32
REM -disabled by Plato for SwingAll v1.1.1- SET CLASSPATH=C:\PROGRA~1\PLATOS~1\SWINGALL.JAR;.
SET CLASSPATH=C:\PROGRA~1\PLATOS~1\SWINGALL.JAR;C:\PROGRA~1\PLATOS~1\SWINGALL.JAR;.
mode con codepage prepare=((850) c:\windows\COMMAND\ega.cpi)
mode con codepage select=850
keyb br,,c:\windows\COMMAND\keyboard.sys
This is how the config.sys looked initially
DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE NOEMS I=B000-B7FF
DOS=HIGH, UMB
FILES=100
REM BUFFERS=40
REM - REMOVE 'REM' FROM FOLLOWING LINE IF YOU WANT TO LOAD THE REAL MODE CDROM DRIVER
REM DEVICE=C:\WINDOWS\COMMAND\CPQIDECD.SYS /D:IDECD001
device=c:\windows\COMMAND\display.sys con=(ega,,1)
Country=031,850,c:\windows\COMMAND\country.sys
I thought I could change autoexec.bat into
ECHO OFF
PROMPT $p$g
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;
lh mode con codepage prepare=((850) c:\windows\command\ega.cpi)
lh mode con codepage select=850
lh keyb nl,,c:\windows\command\keyboard.sys
and config.sys into
DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE NOEMS I=B000-B7FF
DOS=HIGH, UMB
FILES=150
BUFFERS=20
Devicehigh=c:\windows\COMMAND\display.sys con=(ega,,1)
Country=031,850,c:\windows\COMMAND\country.sys
Didn't free up any UMBs though :(
I really hope someone can help. That would be sooooooooooooooo great!!!