Click here to Skip to main content
15,912,400 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCSocket Sending Object Pin
shakumar_2226-Mar-09 21:34
shakumar_2226-Mar-09 21:34 
AnswerRe: CSocket Sending Object Pin
CPallini26-Mar-09 21:43
mveCPallini26-Mar-09 21:43 
GeneralRe: CSocket Sending Object Pin
shakumar_2226-Mar-09 21:55
shakumar_2226-Mar-09 21:55 
QuestionRe: CSocket Sending Object Pin
CPallini26-Mar-09 21:59
mveCPallini26-Mar-09 21:59 
AnswerRe: CSocket Sending Object Pin
shakumar_2226-Mar-09 23:31
shakumar_2226-Mar-09 23:31 
GeneralRe: CSocket Sending Object Pin
CPallini26-Mar-09 23:59
mveCPallini26-Mar-09 23:59 
AnswerRe: CSocket Sending Object Pin
SandipG 26-Mar-09 21:48
SandipG 26-Mar-09 21:48 
QuestionHow to use GetForegroundWindow in service mode application in Vista operating system. Pin
User 268325826-Mar-09 21:19
User 268325826-Mar-09 21:19 
AnswerRe: How to use GetForegroundWindow in service mode application in Vista operating system. Pin
Stuart Dootson27-Mar-09 0:56
professionalStuart Dootson27-Mar-09 0:56 
QuestionAssign Hotkey to Explorerbar? Pin
ritz123426-Mar-09 21:14
ritz123426-Mar-09 21:14 
AnswerRe: Assign Hotkey to Explorerbar? Pin
Sophiya Chen26-Mar-09 22:17
Sophiya Chen26-Mar-09 22:17 
QuestionCListBox Pin
Davitor26-Mar-09 19:59
Davitor26-Mar-09 19:59 
AnswerRe: CListBox Pin
Cedric Moonen26-Mar-09 21:11
Cedric Moonen26-Mar-09 21:11 
GeneralRe: CListBox Pin
Davitor26-Mar-09 21:41
Davitor26-Mar-09 21:41 
GeneralRe: CListBox Pin
CPallini26-Mar-09 21:46
mveCPallini26-Mar-09 21:46 
GeneralRe: CListBox Pin
Cedric Moonen26-Mar-09 21:48
Cedric Moonen26-Mar-09 21:48 
GeneralRe: CListBox Pin
Cedric Moonen26-Mar-09 22:01
Cedric Moonen26-Mar-09 22:01 
GeneralRe: CListBox Pin
Davitor26-Mar-09 22:19
Davitor26-Mar-09 22:19 
GeneralRe: CListBox Pin
Cedric Moonen26-Mar-09 22:28
Cedric Moonen26-Mar-09 22:28 
(I'm gonna reply to your original message that you deleted)

MsmVc wrote:
Plz help me


Help yourself and read the article I linked to you. Threading is not a simple subject that can be explained in 3 lines. If you want to use multithreading and understand what you are doing, then you'll need to spend a bit more time than asking a question on a forum.



MsmVc wrote
Yes m_listba is global variable.


That's really ugly, you should make it a member of your dialog class. You can't access it from your thread so why making it a global varialbe ?
And by the way, the "m_" suffix is usually applied to class member variables (m for member). If you use it on a global variable, it is totally confusing.

Cédric Moonen
Software developer

Charting control [v1.5]
OpenGL game tutorial in C++

GeneralRe: CListBox Pin
Davitor26-Mar-09 23:03
Davitor26-Mar-09 23:03 
GeneralRe: CListBox Pin
Cedric Moonen26-Mar-09 23:13
Cedric Moonen26-Mar-09 23:13 
GeneralRe: CListBox [modified] Pin
Davitor26-Mar-09 23:19
Davitor26-Mar-09 23:19 
GeneralRe: CListBox Pin
CPallini26-Mar-09 23:56
mveCPallini26-Mar-09 23:56 
GeneralRe: CListBox Pin
Cedric Moonen27-Mar-09 0:23
Cedric Moonen27-Mar-09 0:23 
GeneralRe: CListBox Pin
Davitor27-Mar-09 22:06
Davitor27-Mar-09 22:06 

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.