Click here to Skip to main content
16,006,475 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to add,modify and delete data from mysql server. Help me!!! Pin
Anonymous3-Jun-03 6:14
Anonymous3-Jun-03 6:14 
Generalwhy "CStatusBar GetStatusBar(){ return m_wndStatusBar; }" cause problem Pin
yccheok1-Jun-03 5:27
yccheok1-Jun-03 5:27 
GeneralRe: why "CStatusBar GetStatusBar(){ return m_wndStatusBar; }" cause problem Pin
Dominik Reichl1-Jun-03 9:32
Dominik Reichl1-Jun-03 9:32 
Generalcompilation problem (use of undefined type 'CFaceDlg') while using class keyword to do forward declaration Pin
yccheok1-Jun-03 5:25
yccheok1-Jun-03 5:25 
GeneralRe: compilation problem (use of undefined type 'CFaceDlg') while using class keyword to do forward declaration Pin
Ken Mazaika1-Jun-03 7:11
Ken Mazaika1-Jun-03 7:11 
GeneralRe: compilation problem (use of undefined type 'CFaceDlg') while using class keyword to do forward declaration Pin
Dominik Reichl1-Jun-03 9:35
Dominik Reichl1-Jun-03 9:35 
GeneralCToolbar - LoadBitmap method Pin
Florin Ochiana1-Jun-03 4:01
Florin Ochiana1-Jun-03 4:01 
GeneralAbout Muti Thread, who can tell me what's wrong, thanks Pin
cjzdq31-May-03 23:38
cjzdq31-May-03 23:38 
the code like this:

UINT MyThread(LPVOID){
while(1){
::SendMessage(lParam->m_hWnd, WM_MYMESSAGE, 0, 0);
sleep(100);
}
return 0;
}

void A::Fun1(){ //this function will be called frequencily (eg. 10ms)
m_count++; //the member variable;
}

void A::Fun2(){ //this function receive the WM_MYMESSAGE message;
i=m_count;
m_count--;
~~~~~~~~~~~~ if there is only one A object, it's right;
but if there are two or more A objects, some of
them will wrong, the m_count will always 0 in
Fun2(),why?Confused | :confused:
thank's for you help.
}

.
GeneralRe: About Muti Thread, who can tell me what's wrong, thanks Pin
geo_m1-Jun-03 0:11
geo_m1-Jun-03 0:11 
GeneralRe: About Muti Thread, who can tell me what's wrong, thanks Pin
cjzdq1-Jun-03 0:38
cjzdq1-Jun-03 0:38 
GeneralRe: About Muti Thread, who can tell me what's wrong, thanks Pin
geo_m1-Jun-03 0:58
geo_m1-Jun-03 0:58 
GeneralRe: About Muti Thread, who can tell me what's wrong, thanks Pin
valikac1-Jun-03 6:22
valikac1-Jun-03 6:22 
GeneralRe: About Muti Thread, who can tell me what's wrong, thanks Pin
cjzdq2-Jun-03 1:09
cjzdq2-Jun-03 1:09 
GeneralRe: About Muti Thread, who can tell me what's wrong, thanks Pin
cjzdq2-Jun-03 1:14
cjzdq2-Jun-03 1:14 
GeneralI want to draw on a control,but the Dialog app will draw it automatic! Pin
white jungle31-May-03 20:10
white jungle31-May-03 20:10 
GeneralRe: I want to draw on a control,but the Dialog app will draw it automatic! Pin
Ted Ferenc31-May-03 21:42
Ted Ferenc31-May-03 21:42 
GeneralRe: I want to draw on a control,but the Dialog app will draw it automatic! Pin
white jungle31-May-03 23:41
white jungle31-May-03 23:41 
GeneralRe: I want to draw on a control,but the Dialog app will draw it automatic! Pin
Ted Ferenc1-Jun-03 1:31
Ted Ferenc1-Jun-03 1:31 
GeneralRe: I want to draw on a control,but the Dialog app will draw it automatic! Pin
white jungle1-Jun-03 3:18
white jungle1-Jun-03 3:18 
GeneralInternet Connection Availibility Pin
Alex Korchemniy31-May-03 17:46
Alex Korchemniy31-May-03 17:46 
GeneralRe: Internet Connection Availibility Pin
Jason Henderson31-May-03 19:30
Jason Henderson31-May-03 19:30 
GeneralRe: Internet Connection Availibility Pin
Alex Korchemniy31-May-03 20:06
Alex Korchemniy31-May-03 20:06 
GeneralRegistry problems, help! Pin
Steven M Hunt31-May-03 17:19
Steven M Hunt31-May-03 17:19 
GeneralRe: Registry problems, help! Pin
Tom Wright31-May-03 18:07
Tom Wright31-May-03 18:07 
GeneralThanks! Pin
Steven M Hunt31-May-03 18:21
Steven M Hunt31-May-03 18:21 

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.