Click here to Skip to main content
15,925,309 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMultiple CRecordView Pin
6-Mar-02 23:44
suss6-Mar-02 23:44 
GeneralRe: Multiple CRecordView Pin
Mazdak7-Mar-02 0:06
Mazdak7-Mar-02 0:06 
GeneralISecurityInformation Pin
hph6-Mar-02 23:15
hph6-Mar-02 23:15 
GeneralRe: ISecurityInformation Pin
Michael P Butler7-Mar-02 0:26
Michael P Butler7-Mar-02 0:26 
GeneralVC++: Pin
fara6-Mar-02 22:54
fara6-Mar-02 22:54 
GeneralRe: VC++: Pin
Derek Waters7-Mar-02 11:34
Derek Waters7-Mar-02 11:34 
GeneralSTL: returning const char* from a temp string Pin
6-Mar-02 22:25
suss6-Mar-02 22:25 
GeneralRe: STL: returning const char* from a temp string Pin
Joaquín M López Muñoz6-Mar-02 22:52
Joaquín M López Muñoz6-Mar-02 22:52 
Data accessed via c_str() become sinvalid as soon as the temporary string goues out of scope. You need to maintain that string somewhere: declare it as a member of some object, or have it as a static variable in your .cpp file (this can pose problems is the string changes in every invokation.)

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
GeneralRe: STL: returning const char* from a temp string Pin
danwatt6-Mar-02 23:00
danwatt6-Mar-02 23:00 
GeneralRe: STL: returning const char* from a temp string Pin
Tim Smith7-Mar-02 2:22
Tim Smith7-Mar-02 2:22 
GeneralRe: STL: returning const char* from a temp string Pin
Tomasz Sowinski7-Mar-02 2:31
Tomasz Sowinski7-Mar-02 2:31 
GeneralRe: STL: returning const char* from a temp string Pin
Le centriste7-Mar-02 3:54
Le centriste7-Mar-02 3:54 
GeneralRe: STL: returning const char* from a temp string Pin
Tomasz Sowinski7-Mar-02 4:01
Tomasz Sowinski7-Mar-02 4:01 
QuestionHow do I write a vertical text Pin
Abhishek Narula6-Mar-02 22:05
Abhishek Narula6-Mar-02 22:05 
AnswerRe: How do I write a vertical text Pin
Mazdak6-Mar-02 22:25
Mazdak6-Mar-02 22:25 
GeneralRe: How do I write a vertical text Pin
Abhishek Narula6-Mar-02 22:35
Abhishek Narula6-Mar-02 22:35 
GeneralRe: How do I write a vertical text Pin
Mazdak6-Mar-02 23:56
Mazdak6-Mar-02 23:56 
GeneralRe: How do I write a vertical text Pin
Abhishek Narula7-Mar-02 0:01
Abhishek Narula7-Mar-02 0:01 
GeneralRe: How do I write a vertical text Pin
Mazdak7-Mar-02 0:06
Mazdak7-Mar-02 0:06 
AnswerRe: How do I write a vertical text Pin
Joaquín M López Muñoz6-Mar-02 23:18
Joaquín M López Muñoz6-Mar-02 23:18 
AnswerRe: How do I write a vertical text Pin
Atul Dharne7-Mar-02 0:05
Atul Dharne7-Mar-02 0:05 
GeneralRe: How do I write a vertical text Pin
Abhishek Narula7-Mar-02 1:05
Abhishek Narula7-Mar-02 1:05 
GeneralDrawing a bitmap into a CEdit Pin
6-Mar-02 21:22
suss6-Mar-02 21:22 
GeneralRe: Drawing a bitmap into a CEdit Pin
Christian Graus6-Mar-02 21:28
protectorChristian Graus6-Mar-02 21:28 
GeneralRe: Drawing a bitmap into a CEdit Pin
Mazdak6-Mar-02 22:27
Mazdak6-Mar-02 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.