Error Opening a File

Top  Previous 

Some users are getting an error trying to read a large file into the GAMS IDE.

 

The message reads something like: 'value must be between 0 and 65538'

 

The problem is most likely caused by an old DLL. To verify the version of the DLL causing the problem, use explorer, and select the file: Windows\System\comctl32.dll

Right mouse click,

select Properties,

select Version.

 

If the version indicates 4.0, then the outdated version of the DLL is causing the problem.

 

The DLL cannot be replaced while Windows is running! To replace the DLL, the user needs to obtain a later version (version 4.70 and later works correctly)

 

1. Put the new version of comctl32.dll on a floppy disk

2. On the Start menu, select Shutdown

3. Select Restart computer in MSDOS mode

4. Copy the file from the floppy disk to the Windows\System directory

5. Reboot the computer