Click here to Skip to main content
15,896,063 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: I still have no idea how do we benefit from rescursion? Pin
Shog922-Oct-03 21:50
sitebuilderShog922-Oct-03 21:50 
GeneralTemplate question. Pin
WREY22-Oct-03 12:24
WREY22-Oct-03 12:24 
GeneralRe: Template question. Pin
Michael Dunn22-Oct-03 12:38
sitebuilderMichael Dunn22-Oct-03 12:38 
GeneralNeed to refresh property page controls Pin
ElizabethC22-Oct-03 12:04
ElizabethC22-Oct-03 12:04 
GeneralRe: Need to refresh property page controls Pin
David Crow27-Oct-03 8:11
David Crow27-Oct-03 8:11 
GeneralRe: Need to refresh property page controls Pin
ElizabethC27-Oct-03 8:28
ElizabethC27-Oct-03 8:28 
GeneralHTML Help in Chinese Pin
Wolfram Steinke22-Oct-03 11:48
Wolfram Steinke22-Oct-03 11:48 
Generalproblem with thread Pin
Deepak Samuel22-Oct-03 11:35
Deepak Samuel22-Oct-03 11:35 
Hi,
I have Dialog box which has a edit box. I have a separate thread which waits for a event from another application and updates the edit box.
A part of my codeis given below
UINT ScalerOFC( LPVOID lpParam )
{

......
....

while (TRUE)
{

ScalerOF = RtWaitForMultipleObjects(2,ScalOF,FALSE, INFINITE);
if (ScalerOF==WAIT_OBJECT_0)

{
MessageBeep(MB_ICONHAND);
m_errorlog = ........... // I have the problem here
pDialog->ShowWindow(SW_SHOW);
}
}
return 0;
}

I included a member variable of type CString for the Editbox called m_errorlog, but I couldnt access this variable in my thread.while copiling i get a error saying that m_errorlog is an undeclared identifier.
What should I do to access a member variable from my thread?
Is there any way out?

Thanks,

Deepak Samuel
GeneralRe: problem with thread Pin
Ryan_Roberts22-Oct-03 12:02
Ryan_Roberts22-Oct-03 12:02 
GeneralSystem.SByte* is inaccessible... Pin
almogaver22-Oct-03 11:06
almogaver22-Oct-03 11:06 
QuestionArray of pointers on the heap? Pin
Rickard Andersson2022-Oct-03 9:07
Rickard Andersson2022-Oct-03 9:07 
AnswerRe: Array of pointers on the heap? Pin
David Crow22-Oct-03 9:22
David Crow22-Oct-03 9:22 
GeneralRe: Array of pointers on the heap? Pin
Rickard Andersson2022-Oct-03 9:26
Rickard Andersson2022-Oct-03 9:26 
GeneralRe: Array of pointers on the heap? Pin
Rickard Andersson2022-Oct-03 9:35
Rickard Andersson2022-Oct-03 9:35 
GeneralRe: Array of pointers on the heap? Pin
David Crow22-Oct-03 9:59
David Crow22-Oct-03 9:59 
GeneralRe: Array of pointers on the heap? Pin
Jeryth30-Oct-03 10:54
Jeryth30-Oct-03 10:54 
AnswerRe: Array of pointers on the heap? Pin
Nitron23-Oct-03 8:07
Nitron23-Oct-03 8:07 
GeneralSubclassing a CListCtrl derived class in CDialog Pin
b_girl22-Oct-03 8:56
b_girl22-Oct-03 8:56 
GeneralRe: Subclassing a CListCtrl derived class in CDialog Pin
Atlantys22-Oct-03 11:19
Atlantys22-Oct-03 11:19 
GeneralRe: Subclassing a CListCtrl derived class in CDialog Pin
b_girl23-Oct-03 3:20
b_girl23-Oct-03 3:20 
Generalanother question about command.com Pin
includeh1022-Oct-03 8:23
includeh1022-Oct-03 8:23 
Generalc++ and c# in .NET Pin
HudsonKane22-Oct-03 7:56
HudsonKane22-Oct-03 7:56 
GeneralRe: c++ and c# in .NET Pin
Ryan_Roberts22-Oct-03 11:55
Ryan_Roberts22-Oct-03 11:55 
GeneralRe: c++ and c# in .NET Pin
HudsonKane23-Oct-03 10:09
HudsonKane23-Oct-03 10:09 
GeneralUpdating a list box w/ progress data Pin
jimNLX22-Oct-03 7:30
jimNLX22-Oct-03 7:30 

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.