Click here to Skip to main content
12,356,154 members (70,366 online)

C / C++ / MFC

 
GeneralRe: No more DSP but DSW and SLN in VC6.0 Pin
Richard MacCutchan29-Apr-13 23:11
mvpRichard MacCutchan29-Apr-13 23:11 
GeneralRe: No more DSP but DSW and SLN in VC6.0 Pin
Vaclav_Sal30-Apr-13 3:39
memberVaclav_Sal30-Apr-13 3:39 
GeneralRe: No more DSP but DSW and SLN in VC6.0 Pin
Richard MacCutchan30-Apr-13 6:09
mvpRichard MacCutchan30-Apr-13 6:09 
GeneralRe: No more DSP but DSW and SLN in VC6.0 Pin
Freak3030-Apr-13 0:37
memberFreak3030-Apr-13 0:37 
GeneralRe: No more DSP but DSW and SLN in VC6.0 Pin
Vaclav_Sal30-Apr-13 3:31
memberVaclav_Sal30-Apr-13 3:31 
AnswerRe: No more DSP but DSW and SLN in VC6.0 Pin
H.Brydon30-Apr-13 18:58
memberH.Brydon30-Apr-13 18:58 
GeneralRe: No more DSP but DSW and SLN in VC6.0 Pin
Vaclav_Sal1-May-13 9:38
memberVaclav_Sal1-May-13 9:38 
QuestionHelp with KB Q147578 Pin
ForNow29-Apr-13 8:33
memberForNow29-Apr-13 8:33 
Hi

I need help with the following knowledge base article
http://support.microsoft.com/kb/147578[^]

In a method of my main window I have the following code

CMainframe::Process()
{

HWND main_handle = (HWND) this;

In my worker thread

CWnd* windowptr = new CWnd;

windowptr->attach(main_handle);

windowptr->SendMessage(...


My question is this coding correct as the article says
When working between threads not to pass object pointers
Rather handles and attach the handles to the MFC object


Thanks

As I am s getting exceptions on the SendMessage in my worker thread
QuestionRe: Help with KB Q147578 Pin
DavidCrow29-Apr-13 9:41
memberDavidCrow29-Apr-13 9:41 
AnswerRe: Help with KB Q147578 Pin
ForNow29-Apr-13 9:56
memberForNow29-Apr-13 9:56 
QuestionAdvise / patterns on modeling data and business components Pin
Fernando A. Gomez F.29-Apr-13 4:50
memberFernando A. Gomez F.29-Apr-13 4:50 
QuestionHow to make an edit box accept only digits from 0 - 9 in mfc.? Pin
mbatra3128-Apr-13 21:15
membermbatra3128-Apr-13 21:15 
AnswerRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pin
Freak3028-Apr-13 22:10
memberFreak3028-Apr-13 22:10 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pin
mbatra3128-Apr-13 22:35
membermbatra3128-Apr-13 22:35 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pin
Vaclav_Sal29-Apr-13 6:11
memberVaclav_Sal29-Apr-13 6:11 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pin
mbatra3129-Apr-13 18:54
membermbatra3129-Apr-13 18:54 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pin
Vaclav_Sal30-Apr-13 3:47
memberVaclav_Sal30-Apr-13 3:47 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pin
mbatra3130-Apr-13 19:27
membermbatra3130-Apr-13 19:27 
AnswerRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pin
Rolf Kristensen29-Apr-13 4:18
memberRolf Kristensen29-Apr-13 4:18 
Questionproblem in clips programming Pin
a.fatemeh28-Apr-13 2:02
membera.fatemeh28-Apr-13 2:02 
AnswerRe: problem in clips programming Pin
ThePhantomUpvoter28-Apr-13 2:13
memberThePhantomUpvoter28-Apr-13 2:13 
GeneralRe: problem in clips programming Pin
a.fatemeh28-Apr-13 2:19
membera.fatemeh28-Apr-13 2:19 
GeneralRe: problem in clips programming Pin
Richard MacCutchan28-Apr-13 2:29
mvpRichard MacCutchan28-Apr-13 2:29 
GeneralRe: problem in clips programming Pin
a.fatemeh28-Apr-13 2:51
membera.fatemeh28-Apr-13 2:51 
GeneralRe: problem in clips programming Pin
ThePhantomUpvoter28-Apr-13 2:31
memberThePhantomUpvoter28-Apr-13 2:31 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.160621.1 | Last Updated 29 Jun 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid