Click here to Skip to main content
15,897,291 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Working with INI Related functions Pin
_anil_2-Feb-06 22:06
_anil_2-Feb-06 22:06 
GeneralRe: Working with INI Related functions Pin
swaapu2-Feb-06 22:25
swaapu2-Feb-06 22:25 
GeneralRe: Working with INI Related functions Pin
_anil_2-Feb-06 22:32
_anil_2-Feb-06 22:32 
GeneralRe: Working with INI Related functions Pin
swaapu2-Feb-06 22:39
swaapu2-Feb-06 22:39 
GeneralRe: Working with INI Related functions Pin
_anil_2-Feb-06 23:34
_anil_2-Feb-06 23:34 
GeneralRe: Working with INI Related functions Pin
swaapu5-Feb-06 20:12
swaapu5-Feb-06 20:12 
GeneralRe: Working with INI Related functions Pin
alleyes24-Jul-09 4:45
professionalalleyes24-Jul-09 4:45 
AnswerRe: Working with INI Related functions Pin
Jagadeesh VN2-Feb-06 20:34
Jagadeesh VN2-Feb-06 20:34 
The output buffer from GetPrivateProfileSectionNames is filled with all the section names and are seperated by a null character. The last section name is followed by two null characters. Similarly output buffer in GetPrivateProfileSection is also filled with all the key name, value pairs seperated by null character.

So modify your program accordingly...

"A robust program is resistant to errors -- it either works correctly, or it does not work at all; whereas a fault tolerant program must actually recover from errors."

XMinds
GeneralRe: Working with INI Related functions Pin
swaapu2-Feb-06 20:43
swaapu2-Feb-06 20:43 
GeneralRe: Working with INI Related functions Pin
Jagadeesh VN2-Feb-06 20:51
Jagadeesh VN2-Feb-06 20:51 
AnswerRe: Working with INI Related functions Pin
John R. Shaw2-Feb-06 21:59
John R. Shaw2-Feb-06 21:59 
QuestionRun-Time Check Failure #3 Pin
newbie53452-Feb-06 20:15
newbie53452-Feb-06 20:15 
AnswerRe: Run-Time Check Failure #3 Pin
John R. Shaw2-Feb-06 23:19
John R. Shaw2-Feb-06 23:19 
GeneralRe: Run-Time Check Failure #3 Pin
newbie53453-Feb-06 11:12
newbie53453-Feb-06 11:12 
QuestionDrag and Drop Pin
Anil_vvs2-Feb-06 19:58
Anil_vvs2-Feb-06 19:58 
AnswerRe: Drag and Drop Pin
Prakash Nadar2-Feb-06 20:02
Prakash Nadar2-Feb-06 20:02 
GeneralRe: Drag and Drop Pin
Anil_vvs2-Feb-06 20:03
Anil_vvs2-Feb-06 20:03 
GeneralRe: Drag and Drop Pin
Anil_vvs2-Feb-06 20:14
Anil_vvs2-Feb-06 20:14 
AnswerRe: Drag and Drop Pin
Jagadeesh VN2-Feb-06 20:14
Jagadeesh VN2-Feb-06 20:14 
GeneralRe: Drag and Drop Pin
Anil_vvs2-Feb-06 20:17
Anil_vvs2-Feb-06 20:17 
QuestionWhat is the proper way to implement this? Pin
LeeeNN2-Feb-06 19:53
LeeeNN2-Feb-06 19:53 
AnswerRe: What is the proper way to implement this? Pin
Jagadeesh VN2-Feb-06 20:08
Jagadeesh VN2-Feb-06 20:08 
QuestionResizing Dialog and Controls Pin
omrao2-Feb-06 19:19
omrao2-Feb-06 19:19 
AnswerRe: Resizing Dialog and Controls Pin
Jagadeesh VN2-Feb-06 20:19
Jagadeesh VN2-Feb-06 20:19 
AnswerRe: Resizing Dialog and Controls Pin
ThatsAlok3-Feb-06 4:39
ThatsAlok3-Feb-06 4:39 

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.