Click here to Skip to main content
15,917,808 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Thread and ON_WM_TIMER Pin
led mike3-May-07 5:28
led mike3-May-07 5:28 
QuestionHow increase buffer size to read binary data and not damage performance Pin
yefimrz2-May-07 7:34
yefimrz2-May-07 7:34 
QuestionRe: How increase buffer size to read binary data and not damage performance Pin
Mark Salsbery2-May-07 9:19
Mark Salsbery2-May-07 9:19 
AnswerRe: How increase buffer size to read binary data and not damage performance Pin
yefimrz2-May-07 9:54
yefimrz2-May-07 9:54 
GeneralRe: How increase buffer size to read binary data and not damage performance Pin
Mark Salsbery2-May-07 10:20
Mark Salsbery2-May-07 10:20 
QuestionHow to use strcpy to modify char** ? Pin
Joe Smith IX2-May-07 7:24
Joe Smith IX2-May-07 7:24 
AnswerRe: How to use strcpy to modify char** ? Pin
Michael Dunn2-May-07 8:13
sitebuilderMichael Dunn2-May-07 8:13 
AnswerRe: How to use strcpy to modify char** ? Pin
Peter Weyzen2-May-07 8:38
Peter Weyzen2-May-07 8:38 
I would do this:

char *pArrayLabel = NULL;
int size=12;
pArrayLabel = new char[size];
CString szLabel0 = "Januari";
strcpy(pArrayLabel,(char *)szLabel0.GetBuffer(szLabel0.GetLength()));


And when you pass it to the other function, pass it as "&pArrayLabel"

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<A HREF="http://www.soonr.com">SoonR Inc.</A>

AnswerRe: How to use strcpy to modify char** ? Pin
toxcct2-May-07 9:22
toxcct2-May-07 9:22 
GeneralRe: How to use strcpy to modify char** ? Pin
Mark Salsbery2-May-07 9:33
Mark Salsbery2-May-07 9:33 
GeneralRe: How to use strcpy to modify char** ? Pin
Michael Dunn2-May-07 11:22
sitebuilderMichael Dunn2-May-07 11:22 
AnswerRe: How to use strcpy to modify char** ? Pin
prasad_som2-May-07 18:33
prasad_som2-May-07 18:33 
QuestionMFC avi Brightness control Pin
YUANGE2-May-07 6:50
YUANGE2-May-07 6:50 
AnswerRe: MFC avi Brightness control Pin
Hamid_RT2-May-07 7:37
Hamid_RT2-May-07 7:37 
Questionsql string format Pin
hero19952-May-07 5:44
hero19952-May-07 5:44 
AnswerRe: sql string format Pin
James R. Twine2-May-07 5:59
James R. Twine2-May-07 5:59 
AnswerRe: sql string format Pin
Hamid_RT2-May-07 7:29
Hamid_RT2-May-07 7:29 
QuestionAFX_MANAGE_STATE Usage? Pin
rajandpayal2-May-07 4:37
rajandpayal2-May-07 4:37 
AnswerRe: AFX_MANAGE_STATE Usage? Pin
Mark Salsbery2-May-07 5:14
Mark Salsbery2-May-07 5:14 
QuestionSafly Remove USB Pin
VC_RYK2-May-07 2:44
VC_RYK2-May-07 2:44 
AnswerRe: Safly Remove USB Pin
Arman S.2-May-07 3:07
Arman S.2-May-07 3:07 
GeneralRe: Safly Remove USB Pin
VC_RYK2-May-07 18:23
VC_RYK2-May-07 18:23 
QuestionHow do I pass a byte array from VC++ to VB? Pin
prcarp2-May-07 2:20
prcarp2-May-07 2:20 
AnswerRe: How do I pass a byte array from VC++ to VB? Pin
Chris Losinger2-May-07 6:38
professionalChris Losinger2-May-07 6:38 
AnswerRe: How do I pass a byte array from VC++ to VB? Pin
lafleon2-May-07 10:20
lafleon2-May-07 10:20 

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.