Click here to Skip to main content
15,914,221 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionpointer on char array Pin
baerten27-Aug-07 3:35
baerten27-Aug-07 3:35 
AnswerRe: pointer on char array Pin
David Crow27-Aug-07 3:41
David Crow27-Aug-07 3:41 
GeneralRe: pointer on char array Pin
baerten27-Aug-07 4:03
baerten27-Aug-07 4:03 
GeneralRe: pointer on char array Pin
David Crow27-Aug-07 4:39
David Crow27-Aug-07 4:39 
AnswerRe: pointer on char array Pin
Russell'27-Aug-07 3:49
Russell'27-Aug-07 3:49 
GeneralRe: pointer on char array Pin
baerten27-Aug-07 3:57
baerten27-Aug-07 3:57 
GeneralRe: pointer on char array Pin
Russell'27-Aug-07 4:14
Russell'27-Aug-07 4:14 
QuestionRe: Strange Pin
baerten27-Aug-07 4:26
baerten27-Aug-07 4:26 
i perform into Link(char **var_t) :

void MyCEdit::Link(char** var_t)
{
InternBuffer = var_t;
SetWindowText(*var_t);
}

then i get an error into the message loop of the window-thread

if i set the InternBuffer = var_t; line as comment :

void MyCEdit::Link(char** var_t)
{
//InternBuffer = var_t;
SetWindowText(*var_t);
}
it works and the textbox gets the correct string. And no error occurs.
If i re-insert the InternBuffer = var_t; line it crashes during a message loop, for example
with a SetText-Message or Paint-Message of a pWnd->WindowProc(....

Thats the strange action, my "pointer problem" is correct

AnswerRe: Strange Pin
Russell'27-Aug-07 4:47
Russell'27-Aug-07 4:47 
GeneralRe: Strange Pin
baerten27-Aug-07 5:12
baerten27-Aug-07 5:12 
AnswerRe: pointer on char array Pin
KarstenK27-Aug-07 4:13
mveKarstenK27-Aug-07 4:13 
GeneralRe: pointer on char array Pin
baerten27-Aug-07 20:59
baerten27-Aug-07 20:59 
QuestionHighlighting a entire row Pin
Sangeetha_J27-Aug-07 3:35
Sangeetha_J27-Aug-07 3:35 
AnswerRe: Highlighting a entire row Pin
Hamid_RT27-Aug-07 3:59
Hamid_RT27-Aug-07 3:59 
QuestionProblem calling a function in RecordView's constructor Pin
__yash__27-Aug-07 3:29
professional__yash__27-Aug-07 3:29 
AnswerRe: Problem calling a function in RecordView's constructor Pin
David Crow27-Aug-07 3:38
David Crow27-Aug-07 3:38 
GeneralRe: Problem calling a function in RecordView's constructor Pin
__yash__27-Aug-07 3:44
professional__yash__27-Aug-07 3:44 
AnswerRe: Problem calling a function in RecordView's constructor Pin
KarstenK27-Aug-07 4:08
mveKarstenK27-Aug-07 4:08 
GeneralRe: Problem calling a function in RecordView's constructor Pin
__yash__27-Aug-07 4:40
professional__yash__27-Aug-07 4:40 
QuestionCDC::DrawDragRect Pin
bob1697227-Aug-07 3:25
bob1697227-Aug-07 3:25 
QuestionRe: CDC::DrawDragRect Pin
Mark Salsbery27-Aug-07 7:36
Mark Salsbery27-Aug-07 7:36 
AnswerRe: CDC::DrawDragRect Pin
bob1697227-Aug-07 10:45
bob1697227-Aug-07 10:45 
GeneralRe: CDC::DrawDragRect Pin
Mark Salsbery27-Aug-07 11:07
Mark Salsbery27-Aug-07 11:07 
QuestionHow to add GDI+ to a Project? Pin
TheShihan27-Aug-07 2:25
TheShihan27-Aug-07 2:25 
AnswerRe: How to add GDI+ to a Project? Pin
bob1697227-Aug-07 3:37
bob1697227-Aug-07 3:37 

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.