billym
17th November 2003 18:01 UTC
ReadINIStr Problems
Part of my installer looks up device id's from a ini I created. It is rather large. For some reason when I read from the file on WinXP/Win2000 it works fine but reading from the file on a 9X machine returns nothing unless it is in the upper part of the file. Is there a limitation and if so is there a fix for this?
kichik
17th November 2003 18:20 UTC
MSDN states nothing about this... If there is indeed a limit the only solution would be avoiding INI files. How big is the file? Mind attaching the script for a test, just in case?
deguix
17th November 2003 22:19 UTC
Hmmm.... thanks to report it before I did...
Mirakulix
27th October 2004 16:02 UTC
The maximum valid size for a REG.DAT or .INI file is 64 kilobytes on Windows 3.x systems. (http://support.microsoft.com/default...kb;en-us;78346). Looks like this has not changed on win9x systems.
Sounds like I will have to rewrite my uninstall routine to support damn Win98.