Ini files. and the 64K filesize limit

May 31st, 2011 - 03:23 pm ET by Bill in Co | Report spam
In Win9x, the INI files are normally limited to 64K bytes, which normally is
not a big problem. It can be problematic, however, for most CD music
players that rely on an INI file (cdplayer.ini) to store the CD text
(artist, title, etc) information, since once that 64 K filesize is reached
(after playing a whole bunch of different CDs), it hits that limit, and gets
truncated (starting all over again, fresh, with no entries in the new INI
file). I've seen that happen here (using the old MusicMatch Jukebox - a
nice player for its time)

The specific INI file is "cdplayer.ini", found in the \windows directory.

As mentioned, most INI files are under 64 Kbytes anyways, so normally it's
not an issue. And if no minds their CD player just saying Track 1, Track 2,
etc, instead of the artist and title of the tune playing, then it's no big
deal.

Question: was there ever a system file patch to Win98SE that fixed this
issue? By fixed that, I don't mean a "workaround", or something
sidestepping the use of "cdplayer.ini". I mean allowing cdplayer.ini to
exceed 64 K without any issues. (As an aside, Sysedit is limited to 64K,
but one doesn't need to use sysedit here. Also, this 64K limitation seems
to have been dropped in XP)
email Follow the discussionReplies 56 repliesReplies Make a reply

Replies

#1 Lostgallifreyan
June 03rd, 2011 - 08:40 am ET | Report spam
98 Guy wrote in news::

Lostgallifreyan wrote:

When I said I didn't know, I meant it. But if it IS in
Kernel32.dll then there's no easy fix



Don't be so sure.

KernelEx hooks into kernel32.dll and essentially gives windows 98 some
NT-based API functions. This would be the most straight-forward way to
"fix" the 64kb data size limitation for the
Get/Write_PrivateProfileString functions. But it would require that
someone add that capability to kernelex.




That might well be the neatest fix.

(Note that 'easy' is a relative term...)

Similar topics