Archive: ReadINIStr Problems


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?


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?


Hmmm.... thanks to report it before I did...


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.