Click here to Skip to main content
15,884,472 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Render multiple object in single view Pin
PRC30-Apr-09 20:07
PRC30-Apr-09 20:07 
Question[Message Deleted] Pin
SoumyaSri30-Apr-09 0:57
SoumyaSri30-Apr-09 0:57 
AnswerRe: how installer create a copy of msi with new file name in temp location? Pin
Rajesh R Subramanian30-Apr-09 1:01
professionalRajesh R Subramanian30-Apr-09 1:01 
AnswerRe: how installer create a copy of msi with new file name in temp location? Pin
Rolando CC30-Apr-09 8:36
professionalRolando CC30-Apr-09 8:36 
QuestionDeleting ini key-value using API Pin
CodingLover29-Apr-09 23:47
CodingLover29-Apr-09 23:47 
AnswerRe: Deleting ini key-value using API Pin
Michael Schubert29-Apr-09 23:58
Michael Schubert29-Apr-09 23:58 
AnswerRe: Deleting ini key-value using API Pin
_AnsHUMAN_ 29-Apr-09 23:59
_AnsHUMAN_ 29-Apr-09 23:59 
AnswerRe: Deleting ini key-value using API Pin
CPallini30-Apr-09 0:02
mveCPallini30-Apr-09 0:02 
As you probably know, there isn't a function like, for instance, DeletePrivateProfileKey. Hence, I see two possible approaches:
  • (the quick one) Use the WritePrivateProfileString function to invalidate the key, assigning it a well-know string (for instance empty string).
  • (the cumbersome one) Read the whole ini file and create a new one with only the sections and keys you want to retain.


Well, looks like I was wrong... Roll eyes | :rolleyes:
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

GeneralRe: Deleting ini key-value using API Pin
CodingLover30-Apr-09 0:05
CodingLover30-Apr-09 0:05 
QuestionRe: Deleting ini key-value using API Pin
CodingLover30-Apr-09 0:18
CodingLover30-Apr-09 0:18 
AnswerRe: Deleting ini key-value using API Pin
_AnsHUMAN_ 30-Apr-09 0:33
_AnsHUMAN_ 30-Apr-09 0:33 
QuestionRe: Deleting ini key-value using API Pin
CodingLover30-Apr-09 0:49
CodingLover30-Apr-09 0:49 
AnswerRe: Deleting ini key-value using API Pin
Rajesh R Subramanian30-Apr-09 0:58
professionalRajesh R Subramanian30-Apr-09 0:58 
QuestionDetect text (word) under mouse pointer Pin
Héctor Pavón29-Apr-09 22:50
Héctor Pavón29-Apr-09 22:50 
AnswerRe: Detect text (word) under mouse pointer Pin
Stephen Hewitt30-Apr-09 0:02
Stephen Hewitt30-Apr-09 0:02 
GeneralRe: Detect text (word) under mouse pointer Pin
Héctor Pavón30-Apr-09 5:27
Héctor Pavón30-Apr-09 5:27 
Questionupdating from vc2002 to vc2005 Pin
002comp29-Apr-09 22:30
002comp29-Apr-09 22:30 
AnswerRe: updating from vc2002 to vc2005 Pin
_AnsHUMAN_ 29-Apr-09 22:35
_AnsHUMAN_ 29-Apr-09 22:35 
GeneralRe: updating from vc2002 to vc2005 Pin
002comp29-Apr-09 22:53
002comp29-Apr-09 22:53 
QuestionRe: updating from vc2002 to vc2005 Pin
David Crow30-Apr-09 3:51
David Crow30-Apr-09 3:51 
Question::ShellExecute - Problem passing arguments Pin
PankajB29-Apr-09 22:10
PankajB29-Apr-09 22:10 
AnswerRe: ::ShellExecute - Problem passing arguments Pin
Rajesh R Subramanian29-Apr-09 22:23
professionalRajesh R Subramanian29-Apr-09 22:23 
GeneralRe: ::ShellExecute - Problem passing arguments Pin
PankajB29-Apr-09 22:27
PankajB29-Apr-09 22:27 
GeneralRe: ::ShellExecute - Problem passing arguments Pin
Rajesh R Subramanian29-Apr-09 22:32
professionalRajesh R Subramanian29-Apr-09 22:32 
AnswerRe: ::ShellExecute - Problem passing arguments Pin
Cedric Moonen29-Apr-09 22:27
Cedric Moonen29-Apr-09 22:27 

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.