Click here to Skip to main content
       

C / C++ / MFC

 
GeneralRe: No more DSP but DSW and SLN in VC6.0 PinmvpRichard MacCutchan29-Apr-13 23:11 
GeneralRe: No more DSP but DSW and SLN in VC6.0 PinmemberVaclav_Sal30-Apr-13 3:39 
GeneralRe: No more DSP but DSW and SLN in VC6.0 PinmvpRichard MacCutchan30-Apr-13 6:09 
GeneralRe: No more DSP but DSW and SLN in VC6.0 PinmemberFreak3030-Apr-13 0:37 
GeneralRe: No more DSP but DSW and SLN in VC6.0 PinmemberVaclav_Sal30-Apr-13 3:31 
AnswerRe: No more DSP but DSW and SLN in VC6.0 PinmemberH.Brydon30-Apr-13 18:58 
GeneralRe: No more DSP but DSW and SLN in VC6.0 PinmemberVaclav_Sal1-May-13 9:38 
QuestionHelp with KB Q147578 PinmemberForNow29-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 PinmemberDavidCrow29-Apr-13 9:41 
AnswerRe: Help with KB Q147578 PinmemberForNow29-Apr-13 9:56 
QuestionAdvise / patterns on modeling data and business components PinmemberFernando A. Gomez F.29-Apr-13 4:50 
QuestionHow to make an edit box accept only digits from 0 - 9 in mfc.? Pinmembermbatra3128-Apr-13 21:15 
AnswerRe: How to make an edit box accept only digits from 0 - 9 in mfc.? PinmemberFreak3028-Apr-13 22:10 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pinmembermbatra3128-Apr-13 22:35 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? PinmemberVaclav_Sal29-Apr-13 6:11 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pinmembermbatra3129-Apr-13 18:54 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? PinmemberVaclav_Sal30-Apr-13 3:47 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pinmembermbatra3130-Apr-13 19:27 
AnswerRe: How to make an edit box accept only digits from 0 - 9 in mfc.? PinmemberRolf Kristensen29-Apr-13 4:18 
Questionproblem in clips programming Pinmembera.fatemeh28-Apr-13 2:02 
AnswerRe: problem in clips programming PinmemberThePhantomUpvoter28-Apr-13 2:13 
GeneralRe: problem in clips programming Pinmembera.fatemeh28-Apr-13 2:19 
GeneralRe: problem in clips programming PinmvpRichard MacCutchan28-Apr-13 2:29 
GeneralRe: problem in clips programming Pinmembera.fatemeh28-Apr-13 2:51 
GeneralRe: problem in clips programming PinmemberThePhantomUpvoter28-Apr-13 2:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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
Web02 | 2.8.140709.1 | Last Updated 10 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid