Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Conversion of 'CString/Resouce String' to Char* Pin
Priya_Sundar28-Nov-07 20:01
Priya_Sundar28-Nov-07 20:01 
GeneralRe: Conversion of 'CString/Resouce String' to Char* Pin
Cedric Moonen28-Nov-07 20:07
Cedric Moonen28-Nov-07 20:07 
Answer[Solved]: Conversion of 'CString/Resouce String' to Char* Pin
Priya_Sundar28-Nov-07 22:02
Priya_Sundar28-Nov-07 22:02 
GeneralRe: [Solved]: Conversion of 'CString/Resouce String' to Char* Pin
ThatsAlok28-Nov-07 23:14
ThatsAlok28-Nov-07 23:14 
GeneralRe: [Solved]: Conversion of 'CString/Resouce String' to Char* Pin
Priya_Sundar28-Nov-07 23:28
Priya_Sundar28-Nov-07 23:28 
GeneralRe: [Solved]: Conversion of 'CString/Resouce String' to Char* Pin
ThatsAlok28-Nov-07 23:38
ThatsAlok28-Nov-07 23:38 
GeneralRe: [Solved]: Conversion of 'CString/Resouce String' to Char* Pin
Priya_Sundar29-Nov-07 18:17
Priya_Sundar29-Nov-07 18:17 
GeneralRe: [Solved]: Conversion of 'CString/Resouce String' to Char* Pin
cp987629-Nov-07 1:01
cp987629-Nov-07 1:01 
This just looks SO bad. I'm not really sure what will happen but I suspect that it has potential for the Coding Horrors forum.

When the NamesTable[] array is initialised, each NameInfo::strTagName pointer will be set to pMyLpstr, there will be no copying / storage of the string you obtained from the resource.






Peter
"Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."

GeneralRe: [Solved]: Conversion of 'CString/Resouce String' to Char* Pin
David Crow29-Nov-07 3:00
David Crow29-Nov-07 3:00 
QuestionRe: Conversion of 'CString/Resouce String' to Char* Pin
David Crow29-Nov-07 3:04
David Crow29-Nov-07 3:04 
AnswerRe: Conversion of 'CString/Resouce String' to Char* Pin
Priya_Sundar29-Nov-07 16:51
Priya_Sundar29-Nov-07 16:51 
GeneralRe: Conversion of 'CString/Resouce String' to Char* Pin
David Crow30-Nov-07 2:37
David Crow30-Nov-07 2:37 
QuestionDesign multi forms Pin
wira1guys28-Nov-07 16:35
wira1guys28-Nov-07 16:35 
QuestionRe: Design multi forms Pin
Hamid_RT28-Nov-07 18:46
Hamid_RT28-Nov-07 18:46 
AnswerRe: Design multi forms Pin
wira1guys28-Nov-07 18:53
wira1guys28-Nov-07 18:53 
GeneralRe: Design multi forms Pin
Hamid_RT28-Nov-07 19:25
Hamid_RT28-Nov-07 19:25 
GeneralRe: Design multi forms Pin
wira1guys28-Nov-07 22:58
wira1guys28-Nov-07 22:58 
AnswerRe: Design multi forms Pin
Nelek28-Nov-07 22:15
protectorNelek28-Nov-07 22:15 
QuestionHow to get CF card Serial Number? Pin
Waruna28-Nov-07 11:32
Waruna28-Nov-07 11:32 
AnswerRe: How to get CF card Serial Number? Pin
Nelek28-Nov-07 22:10
protectorNelek28-Nov-07 22:10 
AnswerRe: How to get CF card Serial Number? Pin
JudyL_MD29-Nov-07 4:09
JudyL_MD29-Nov-07 4:09 
QuestionHorizontal scroll for CListBox Pin
Jackson8628-Nov-07 9:24
Jackson8628-Nov-07 9:24 
GeneralRe: Horizontal scroll for CListBox Pin
David Crow14-Mar-08 6:04
David Crow14-Mar-08 6:04 
QuestionHorizontal scroll for CListBox. Pin
Jackson8628-Nov-07 9:17
Jackson8628-Nov-07 9:17 
AnswerRe: Horizontal scroll for CListBox. Pin
David Crow28-Nov-07 10:25
David Crow28-Nov-07 10:25 

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.