Click here to Skip to main content
15,899,313 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionI have problem with codecvt<> Pin
Cold_Fearing_Bird5-Oct-11 23:59
Cold_Fearing_Bird5-Oct-11 23:59 
AnswerRe: I have problem with codecvt Pin
Madhu Nair12-Oct-11 21:31
Madhu Nair12-Oct-11 21:31 
QuestionMessage Removed Pin
27-Sep-11 4:03
Youming Lee27-Sep-11 4:03 
AnswerRe: why can't calculate the expression.error CXX0030 char **ptr_alph = (char**)malloc(wordCount * sizeof(char *)); Pin
Richard MacCutchan27-Sep-11 4:28
mveRichard MacCutchan27-Sep-11 4:28 
GeneralRe: why can't calculate the expression.error CXX0030 char **ptr_alph = (char**)malloc(wordCount * sizeof(char *)); Pin
Youming Lee27-Sep-11 5:07
Youming Lee27-Sep-11 5:07 
GeneralRe: why can't calculate the expression.error CXX0030 char **ptr_alph = (char**)malloc(wordCount * sizeof(char *)); Pin
Richard MacCutchan30-Sep-11 10:16
mveRichard MacCutchan30-Sep-11 10:16 
QuestionWrite REG_MULTI_SZ value in registry Pin
Cpp_Com26-Sep-11 2:22
Cpp_Com26-Sep-11 2:22 
AnswerRe: Write REG_MULTI_SZ value in registry Pin
Richard MacCutchan26-Sep-11 6:28
mveRichard MacCutchan26-Sep-11 6:28 
C++
sprintf((char*)format, "%s\\0%s\\0\\0", p1, p2);

The result of the above command will produce the string:
998\0999\0\0

which is obviously not what you want; the format string should be "%s\0%s\0\0".
You also say that this is not updating in registry; do you get the error message or see some other problem? Are you running this code with administrator privileges and have you opened your registry key with the correct permissions for updating values?
Unrequited desire is character building. OriginalGriff


GeneralRe: Write REG_MULTI_SZ value in registry Pin
ThatsAlok3-Oct-11 23:55
ThatsAlok3-Oct-11 23:55 
GeneralRe: Write REG_MULTI_SZ value in registry Pin
Richard MacCutchan4-Oct-11 1:19
mveRichard MacCutchan4-Oct-11 1:19 
QuestionHow to disable warning popup in ActiveX Pin
Cpp_Com19-Sep-11 18:49
Cpp_Com19-Sep-11 18:49 
AnswerRe: How to disable warning popup in ActiveX Pin
KingsGambit19-Sep-11 20:19
KingsGambit19-Sep-11 20:19 
GeneralRe: How to disable warning popup in ActiveX Pin
Cpp_Com20-Sep-11 19:07
Cpp_Com20-Sep-11 19:07 
GeneralRe: How to disable warning popup in ActiveX Pin
KingsGambit20-Sep-11 20:36
KingsGambit20-Sep-11 20:36 
GeneralRe: How to disable warning popup in ActiveX Pin
Cpp_Com20-Sep-11 23:38
Cpp_Com20-Sep-11 23:38 
AnswerRe: How to disable warning popup in ActiveX Pin
Abhi Lahare3-Oct-11 6:24
Abhi Lahare3-Oct-11 6:24 
QuestionCan't call DestroyWindow in CView::OnActivateView when activated with Aero preview Pin
Member 823191212-Sep-11 15:33
Member 823191212-Sep-11 15:33 
AnswerRe: Can't call DestroyWindow in CView::OnActivateView when activated with Aero preview Pin
Member 823191214-Sep-11 3:22
Member 823191214-Sep-11 3:22 
GeneralRe: Can't call DestroyWindow in CView::OnActivateView when activated with Aero preview Pin
MicroVirus14-Sep-11 3:32
MicroVirus14-Sep-11 3:32 
QuestionHow to create a ActiveX document server to render a txt file Pin
shelok10-Sep-11 17:17
shelok10-Sep-11 17:17 
AnswerRe: How to create a ActiveX document server to render a txt file Pin
Richard MacCutchan10-Sep-11 21:09
mveRichard MacCutchan10-Sep-11 21:09 
GeneralRe: How to create a ActiveX document server to render a txt file Pin
shelok10-Sep-11 23:19
shelok10-Sep-11 23:19 
QuestionHow to Check the iterator is valid? Pin
jbiaojerry7-Sep-11 23:45
jbiaojerry7-Sep-11 23:45 
AnswerRe: How to Check the iterator is valid? Pin
MicroVirus8-Sep-11 4:07
MicroVirus8-Sep-11 4:07 
AnswerRe: How to Check the iterator is valid? Pin
Stephen Hewitt12-Sep-11 6:18
Stephen Hewitt12-Sep-11 6:18 

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.