|
-
Jul 31st, 2006, 05:41 AM
#1
Thread Starter
Member
ini size problems
Im using the ini API's in my project.
Call GetPrivateProfileSection(name, szBuf, 255, App.Path & "\Profile.ini")
Each section has 8 parts, holding 4 characters of information, which is an ID number for a database.
[Science Block]
0200
0210
0200 etc
As I havent found a way to delete sections from the ini, I mark them as void when the user wishes to delete them:-
[Science Block]
VOID
0200
0210 etc
so they aren't added to the list box for the user to select.
The problem is there end up a lot of info in the ini file, most not needed.
Some sections aren't being read, as the VOID sections are still read into the buffer.
How big can I safely make the buffer, or is there a better way of going about this?
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|