Click here to Skip to main content
16,007,779 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: changing a part of a string Pin
ng kok chuan17-Apr-05 15:46
ng kok chuan17-Apr-05 15:46 
GeneralRe: changing a part of a string Pin
ThatsAlok20-Apr-05 19:55
ThatsAlok20-Apr-05 19:55 
GeneralThreads Pin
ww303114-Apr-05 12:02
ww303114-Apr-05 12:02 
GeneralRe: Threads Pin
Graham Bradshaw14-Apr-05 12:22
Graham Bradshaw14-Apr-05 12:22 
GeneralRe: Threads Pin
Joel Holdsworth14-Apr-05 12:33
Joel Holdsworth14-Apr-05 12:33 
GeneralRe: Threads Pin
ww303114-Apr-05 13:03
ww303114-Apr-05 13:03 
GeneralRe: Threads Pin
22491714-Apr-05 18:02
22491714-Apr-05 18:02 
GeneralRe: Threads Pin
22491714-Apr-05 18:00
22491714-Apr-05 18:00 
Joel Holdsworth wrote:
thread_handle = AfxBeginThread(ThreadStartFunc, (LPVOID)this);


Friend, you are breaking the cardinal rule of MFC, CWnd objects are not allowed to be passed between threads, it should only be used by the thread which created it. You will never be able to predict when the application bombs in your case. Please have a look into this link
q147578/[^]



suhredayan
There is no spoon.

GeneralRe: Threads Pin
Joel Holdsworth14-Apr-05 23:21
Joel Holdsworth14-Apr-05 23:21 
GeneralRe: Threads Pin
22491714-Apr-05 23:29
22491714-Apr-05 23:29 
GeneralRe: Threads Pin
David Crow15-Apr-05 3:57
David Crow15-Apr-05 3:57 
GeneralVisual Studio 6.0 bug Pin
glowskull0314-Apr-05 11:27
glowskull0314-Apr-05 11:27 
GeneralRe: Visual Studio 6.0 bug Pin
Anonymous14-Apr-05 16:21
Anonymous14-Apr-05 16:21 
GeneralRe: Visual Studio 6.0 bug Pin
ng kok chuan14-Apr-05 16:41
ng kok chuan14-Apr-05 16:41 
QuestionHow to copy folders? Pin
elephantstar14-Apr-05 11:24
elephantstar14-Apr-05 11:24 
AnswerRe: How to copy folders? Pin
Jack Puppy14-Apr-05 13:11
Jack Puppy14-Apr-05 13:11 
AnswerRe: How to copy folders? Pin
22491714-Apr-05 19:12
22491714-Apr-05 19:12 
Generalauto start program Pin
_tasleem14-Apr-05 10:42
_tasleem14-Apr-05 10:42 
GeneralRe: auto start program Pin
mark novak14-Apr-05 11:41
mark novak14-Apr-05 11:41 
GeneralRe: auto start program Pin
22491714-Apr-05 17:49
22491714-Apr-05 17:49 
GeneralAutoscroll a listbox Pin
Anonymous14-Apr-05 10:15
Anonymous14-Apr-05 10:15 
GeneralRe: Autoscroll a listbox Pin
Anonymous14-Apr-05 10:23
Anonymous14-Apr-05 10:23 
GeneralCComboBox without Border Pin
tobi7814-Apr-05 9:22
tobi7814-Apr-05 9:22 
GeneralThread Creation / Server Pin
brilliant10114-Apr-05 8:59
brilliant10114-Apr-05 8:59 
GeneralHelp! Many questions about using CString Pin
tttyip14-Apr-05 6:48
tttyip14-Apr-05 6:48 

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.