Click here to Skip to main content
15,849,494 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How do I change "static" text in window Pin
ThatsAlok5-May-08 0:54
ThatsAlok5-May-08 0:54 
AnswerRe: How do I change "static" text in window Pin
Hamid_RT4-May-08 20:16
Hamid_RT4-May-08 20:16 
QuestionHow can I free memory before returning the value in my function? Pin
santiageitorx4-May-08 6:40
santiageitorx4-May-08 6:40 
QuestionRe: How can I free memory before returning the value in my function? Pin
Mark Salsbery4-May-08 7:22
Mark Salsbery4-May-08 7:22 
AnswerRe: How can I free memory before returning the value in my function? Pin
Bram van Kampen4-May-08 8:39
Bram van Kampen4-May-08 8:39 
QuestionSo I'd be doing it fine this way? Pin
santiageitorx4-May-08 11:09
santiageitorx4-May-08 11:09 
AnswerRe: So I'd be doing it fine this way? Pin
Nitheesh George4-May-08 20:29
Nitheesh George4-May-08 20:29 
AnswerRe: So I'd be doing it fine this way? Pin
Chiew Heng Wah4-May-08 21:46
Chiew Heng Wah4-May-08 21:46 
You could declare it as a global variable, outside the function instead:

char ReturnArray[1024] = {0}; // put it here.<br />
<br />
char *rr(char*s)<br />
{<br />
      char cc[4] = {0x00,0x00,0x00,0x00};<br />
      // char ReturnArray[1024] = {0};  // move it up instead.

QuestionADO _RecordsetPtr: how to PutCollect() a NULL value? Pin
hanlei00000000093-May-08 16:52
hanlei00000000093-May-08 16:52 
AnswerRe: ADO _RecordsetPtr: how to PutCollect() a NULL value? Pin
swjtu_ran12-Aug-11 20:32
swjtu_ran12-Aug-11 20:32 
QuestionVisual Studio - using CFormView variables and methods in child dialog Pin
overheat3-May-08 10:45
overheat3-May-08 10:45 
AnswerRe: Visual Studio - using CFormView variables and methods in child dialog Pin
JudyL_MD3-May-08 11:41
JudyL_MD3-May-08 11:41 
GeneralRe: Visual Studio - using CFormView variables and methods in child dialog Pin
overheat3-May-08 13:25
overheat3-May-08 13:25 
GeneralRe: Visual Studio - using CFormView variables and methods in child dialog Pin
JudyL_MD3-May-08 18:34
JudyL_MD3-May-08 18:34 
GeneralRe: Visual Studio - using CFormView variables and methods in child dialog Pin
overheat4-May-08 1:03
overheat4-May-08 1:03 
GeneralRe: Visual Studio - using CFormView variables and methods in child dialog Pin
JudyL_MD4-May-08 4:31
JudyL_MD4-May-08 4:31 
AnswerRe: Visual Studio - using CFormView variables and methods in child dialog Pin
Nelek5-May-08 4:10
protectorNelek5-May-08 4:10 
QuestionCan "MCIWndOpen()" function work with Unicode? Pin
Joseph Marzbani3-May-08 9:50
Joseph Marzbani3-May-08 9:50 
AnswerRe: Can "MCIWndOpen()" function work with Unicode? Pin
Mark Salsbery3-May-08 10:19
Mark Salsbery3-May-08 10:19 
AnswerRe: Can "MCIWndOpen()" function work with Unicode? Pin
Stephen Hewitt4-May-08 16:54
Stephen Hewitt4-May-08 16:54 
QuestionOpen a .txt file with a press of a button in MFC Pin
lahom3-May-08 9:28
lahom3-May-08 9:28 
AnswerRe: Open a .txt file with a press of a button in MFC Pin
JudyL_MD3-May-08 11:44
JudyL_MD3-May-08 11:44 
AnswerRe: Open a .txt file with a press of a button in MFC Pin
Ozer Karaagac3-May-08 12:50
professionalOzer Karaagac3-May-08 12:50 
AnswerRe: Open a .txt file with a press of a button in MFC Pin
Hamid_RT3-May-08 19:21
Hamid_RT3-May-08 19:21 
AnswerRe: Open a .txt file with a press of a button in MFC Pin
ThatsAlok5-May-08 0:57
ThatsAlok5-May-08 0:57 

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.