Click here to Skip to main content
15,899,579 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to use GetPrivateProfileSection Pin
kakan3-Jan-06 20:22
professionalkakan3-Jan-06 20:22 
GeneralRe: How to use GetPrivateProfileSection Pin
Prakash Nadar3-Jan-06 20:26
Prakash Nadar3-Jan-06 20:26 
GeneralRe: How to use GetPrivateProfileSection Pin
kakan3-Jan-06 20:38
professionalkakan3-Jan-06 20:38 
GeneralRe: How to use GetPrivateProfileSection Pin
<color>Aljechin 3-Jan-06 20:57
<color>Aljechin 3-Jan-06 20:57 
GeneralRe: How to use GetPrivateProfileSection Pin
kakan3-Jan-06 21:03
professionalkakan3-Jan-06 21:03 
GeneralRe: How to use GetPrivateProfileSection Pin
Prakash Nadar3-Jan-06 21:33
Prakash Nadar3-Jan-06 21:33 
GeneralRe: How to use GetPrivateProfileSection Pin
Prakash Nadar3-Jan-06 21:32
Prakash Nadar3-Jan-06 21:32 
GeneralRe: How to use GetPrivateProfileSection Pin
<color>Aljechin 3-Jan-06 20:55
<color>Aljechin 3-Jan-06 20:55 
GeneralRe: How to use GetPrivateProfileSection Pin
kakan3-Jan-06 21:13
professionalkakan3-Jan-06 21:13 
GeneralRe: How to use GetPrivateProfileSection Pin
Prakash Nadar3-Jan-06 21:31
Prakash Nadar3-Jan-06 21:31 
GeneralRe: How to use GetPrivateProfileSection Pin
<color>Aljechin 3-Jan-06 22:01
<color>Aljechin 3-Jan-06 22:01 
GeneralRe: How to use GetPrivateProfileSection Pin
Prakash Nadar3-Jan-06 22:03
Prakash Nadar3-Jan-06 22:03 
GeneralRe: How to use GetPrivateProfileSection Pin
<color>Aljechin 3-Jan-06 22:11
<color>Aljechin 3-Jan-06 22:11 
GeneralRe: How to use GetPrivateProfileSection Pin
Owner drawn3-Jan-06 23:30
Owner drawn3-Jan-06 23:30 
GeneralRe: How to use GetPrivateProfileSection Pin
Prakash Nadar3-Jan-06 23:41
Prakash Nadar3-Jan-06 23:41 
GeneralRe: How to use GetPrivateProfileSection Pin
<color>Aljechin 4-Jan-06 0:35
<color>Aljechin 4-Jan-06 0:35 
AnswerRe: How to use GetPrivateProfileSection Pin
Owner drawn3-Jan-06 20:05
Owner drawn3-Jan-06 20:05 
Did you take note of the return value...

The return value is the number of characters copied to the buffer, not including the terminating null character.

So why don't you loop through the string instead of checking for NULL. This way you will get the full settings.

Here each string is seperated with a NULL char. So while looping you can replace these NULL chars with a semicolon or some special char.

Love Forgives--Love Gives--Jesus is Love Smile | :)
<marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord


GeneralRe: How to use GetPrivateProfileSection Pin
<color>Aljechin 3-Jan-06 20:10
<color>Aljechin 3-Jan-06 20:10 
GeneralRe: How to use GetPrivateProfileSection Pin
Misha21520-Nov-09 10:08
Misha21520-Nov-09 10:08 
QuestionAny Difference between vc++ and MFC? Pin
HaKing3-Jan-06 19:11
HaKing3-Jan-06 19:11 
AnswerRe: Any Difference between vc++ and MFC? Pin
Prakash Nadar3-Jan-06 19:15
Prakash Nadar3-Jan-06 19:15 
GeneralRe: Any Difference between vc++ and MFC? Pin
lastgen4-Jan-06 17:44
lastgen4-Jan-06 17:44 
GeneralRe: Any Difference between vc++ and MFC? Pin
Prakash Nadar4-Jan-06 20:52
Prakash Nadar4-Jan-06 20:52 
QuestionClear difference btwn Copy constructor and Asignment operator? Pin
HaKing3-Jan-06 19:09
HaKing3-Jan-06 19:09 
AnswerRe: Clear difference btwn Copy constructor and Asignment operator? Pin
Prakash Nadar3-Jan-06 19:20
Prakash Nadar3-Jan-06 19:20 

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.