Click here to Skip to main content
15,892,575 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Simple Installation Program Pin
Ted Ferenc8-Nov-04 4:14
Ted Ferenc8-Nov-04 4:14 
GeneralRe: Simple Installation Program Pin
jerry1211a8-Nov-04 4:29
jerry1211a8-Nov-04 4:29 
GeneralUpdate Listcontrol Pin
vilmer8-Nov-04 3:34
vilmer8-Nov-04 3:34 
GeneralRe: Update Listcontrol Pin
BlackDice8-Nov-04 3:48
BlackDice8-Nov-04 3:48 
GeneralRe: Update Listcontrol Pin
David Crow8-Nov-04 4:04
David Crow8-Nov-04 4:04 
GeneralRe: Update Listcontrol Pin
vilmer8-Nov-04 6:25
vilmer8-Nov-04 6:25 
GeneralRe: Update Listcontrol Pin
BlackDice8-Nov-04 9:01
BlackDice8-Nov-04 9:01 
GeneralRe: Update Listcontrol Pin
vilmer8-Nov-04 20:41
vilmer8-Nov-04 20:41 
I'll show you an example of how my code works:

CListCtrl myLC;
int Num; (as members of CMyClass)

void CMyClass::OnButtonStart()
{
Num = 0;
char* ptrItem;
while (Num < 100)
{
itoa(Num,ptrItem,10);
myLC.InsertItem(Num,ptrItem);
Num++;
}
}

If I use AfxBeginThread(MyThread,this) - where MyThread provides only the InsertItem statement - inside the while statement and then refer to a CMyClass instance, that instance show a value of Num which is already 100, beacause the while statement doesn't wait for the thread to finish its execution.

Eek! | :eek:

Aaarrgggghhhh
GeneralRe: Update Listcontrol Pin
BlackDice9-Nov-04 2:45
BlackDice9-Nov-04 2:45 
GeneralSpeech in Visual C++ .Net Pin
arcticKat8-Nov-04 3:27
arcticKat8-Nov-04 3:27 
GeneralHost names on Windows NT Pin
Anshul Mehra8-Nov-04 2:45
professionalAnshul Mehra8-Nov-04 2:45 
GeneralRe: Host names on Windows NT Pin
Graham Bradshaw8-Nov-04 3:50
Graham Bradshaw8-Nov-04 3:50 
GeneralGetting paths to the.pst files Pin
_kane_8-Nov-04 1:53
_kane_8-Nov-04 1:53 
GeneralRe: Getting paths to the.pst files Pin
vilmer8-Nov-04 3:16
vilmer8-Nov-04 3:16 
GeneralRe: Getting paths to the.pst files Pin
David Crow8-Nov-04 4:41
David Crow8-Nov-04 4:41 
GeneralRe: Getting paths to the.pst files Pin
_kane_8-Nov-04 6:21
_kane_8-Nov-04 6:21 
GeneralRe: Getting paths to the.pst files Pin
Ryan Binns8-Nov-04 17:26
Ryan Binns8-Nov-04 17:26 
QuestionHow can I enable SystemMenu of an skined dialog that disabled its TitleBar? Pin
Behzad Ebrahimi8-Nov-04 1:40
Behzad Ebrahimi8-Nov-04 1:40 
AnswerRe: How can I enable SystemMenu of an skined dialog that disabled its TitleBar? Pin
Ryan Binns8-Nov-04 17:31
Ryan Binns8-Nov-04 17:31 
GeneralExecuting a c++ program in .net Pin
novicedude8-Nov-04 1:06
novicedude8-Nov-04 1:06 
GeneralCRichEditCtrl problem Pin
Neelesh K J Jain8-Nov-04 0:56
Neelesh K J Jain8-Nov-04 0:56 
GeneralRe: CRichEditCtrl problem Pin
David Crow8-Nov-04 5:05
David Crow8-Nov-04 5:05 
GeneralRe: Extension DLL's &amp; MFC Class Inheritance Pin
FearlessBurner8-Nov-04 0:02
FearlessBurner8-Nov-04 0:02 
GeneralRe: Extension DLL's &amp; MFC Class Inheritance Pin
Chris Meech8-Nov-04 8:34
Chris Meech8-Nov-04 8:34 
GeneralExtension DLL's & MFC Class Inheritance Pin
#realJSOP7-Nov-04 23:47
mve#realJSOP7-Nov-04 23:47 

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.