Click here to Skip to main content
15,891,431 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: GetPrivateProfileString Pin
Owner drawn22-Jan-06 22:49
Owner drawn22-Jan-06 22:49 
GeneralRe: GetPrivateProfileString Pin
Nishad S22-Jan-06 22:53
Nishad S22-Jan-06 22:53 
GeneralRe: GetPrivateProfileString Pin
Owner drawn22-Jan-06 22:56
Owner drawn22-Jan-06 22:56 
AnswerRe: GetPrivateProfileString Pin
Rage22-Jan-06 23:29
professionalRage22-Jan-06 23:29 
GeneralRe: GetPrivateProfileString Pin
Nishad S23-Jan-06 0:13
Nishad S23-Jan-06 0:13 
GeneralRe: GetPrivateProfileString Pin
Rage23-Jan-06 1:20
professionalRage23-Jan-06 1:20 
GeneralRe: GetPrivateProfileString Pin
Nishad S23-Jan-06 1:28
Nishad S23-Jan-06 1:28 
GeneralRe: GetPrivateProfileString Pin
Rage23-Jan-06 1:57
professionalRage23-Jan-06 1:57 
NS17 wrote:
I have no idea about how windows handles ini files...


Ini files are now obsolete, replaced by entries in the registry. It was a normal text file, read in as a normal text file, and keys were searched for using normal string search functions.

Performance of course will highly depend on the size of your file and the number of entries in it. If you see that it requires too much run to get the approximative good size, increase the the size in each loop with higher size steps.

~RaGE();
GeneralRe: GetPrivateProfileString Pin
Nishad S23-Jan-06 2:00
Nishad S23-Jan-06 2:00 
GeneralRe: GetPrivateProfileString Pin
Stephen Hewitt23-Jan-06 2:46
Stephen Hewitt23-Jan-06 2:46 
GeneralRe: GetPrivateProfileString Pin
Nishad S23-Jan-06 16:29
Nishad S23-Jan-06 16:29 
GeneralRe: GetPrivateProfileString Pin
David Crow23-Jan-06 3:57
David Crow23-Jan-06 3:57 
GeneralRe: GetPrivateProfileString Pin
David Crow23-Jan-06 3:52
David Crow23-Jan-06 3:52 
AnswerRe: GetPrivateProfileString Pin
David Crow23-Jan-06 3:50
David Crow23-Jan-06 3:50 
Questioneffective permissions Pin
kelprinc22-Jan-06 21:36
kelprinc22-Jan-06 21:36 
QuestionVisuall c Pin
Hamid_RT22-Jan-06 21:17
Hamid_RT22-Jan-06 21:17 
AnswerRe: Visuall c Pin
Rajesh R Subramanian22-Jan-06 21:21
professionalRajesh R Subramanian22-Jan-06 21:21 
GeneralRe: Visuall c Pin
Hamid_RT22-Jan-06 21:27
Hamid_RT22-Jan-06 21:27 
GeneralRe: Visuall c Pin
Cedric Moonen22-Jan-06 21:34
Cedric Moonen22-Jan-06 21:34 
General[Message Deleted] Pin
Hamid_RT22-Jan-06 21:43
Hamid_RT22-Jan-06 21:43 
GeneralRe: Visuall c Pin
Cedric Moonen22-Jan-06 21:54
Cedric Moonen22-Jan-06 21:54 
GeneralRe: Visuall c Pin
Cedric Moonen22-Jan-06 22:16
Cedric Moonen22-Jan-06 22:16 
GeneralRe: Visuall c Pin
Cedric Moonen22-Jan-06 22:39
Cedric Moonen22-Jan-06 22:39 
QuestionRe: Visuall c Pin
David Crow23-Jan-06 4:01
David Crow23-Jan-06 4:01 
AnswerRe: Visuall c Pin
LivingThoughts22-Jan-06 23:50
LivingThoughts22-Jan-06 23:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.