Click here to Skip to main content
15,907,906 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: Horizontal scroll for CListBox. Pin
Nelek28-Nov-07 22:10
protectorNelek28-Nov-07 22:10 
Questionhelp regarding graphics in VC++ Pin
paresh_sarjani28-Nov-07 8:38
paresh_sarjani28-Nov-07 8:38 
QuestionRe: help regarding graphics in VC++ Pin
Maximilien28-Nov-07 8:51
Maximilien28-Nov-07 8:51 
AnswerRe: help regarding graphics in VC++ Pin
paresh_sarjani28-Nov-07 8:53
paresh_sarjani28-Nov-07 8:53 
AnswerRe: help regarding graphics in VC++ Pin
Hamid_RT28-Nov-07 18:45
Hamid_RT28-Nov-07 18:45 
QuestionConvert Int to CString Pin
Schehaider_Aymen28-Nov-07 8:26
Schehaider_Aymen28-Nov-07 8:26 

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.