Click here to Skip to main content
       

C / C++ / MFC

 
QuestionReadfile to read parent process console buffer PinmemberForNow29-Apr-13 16:51 
AnswerRe: Readfile to read parent process console buffer Pinmember«_Superman_»2-May-13 20:11 
GeneralRe: Readfile to read parent process console buffer PinmemberForNow3-May-13 5:11 
QuestionNo more DSP but DSW and SLN in VC6.0 PinmemberVaclav_Sal29-Apr-13 10:36 
QuestionRe: No more DSP but DSW and SLN in VC6.0 PinmemberDavidCrow29-Apr-13 10:40 
AnswerRe: No more DSP but DSW and SLN in VC6.0 PinmemberVaclav_Sal29-Apr-13 15:11 
GeneralRe: No more DSP but DSW and SLN in VC6.0 PinmvpRichard MacCutchan30-Apr-13 0:11 
GeneralRe: No more DSP but DSW and SLN in VC6.0 PinmemberVaclav_Sal30-Apr-13 4:39 
GeneralRe: No more DSP but DSW and SLN in VC6.0 PinmvpRichard MacCutchan30-Apr-13 7:09 
GeneralRe: No more DSP but DSW and SLN in VC6.0 PinmemberFreak3030-Apr-13 1:37 
GeneralRe: No more DSP but DSW and SLN in VC6.0 PinmemberVaclav_Sal30-Apr-13 4:31 
AnswerRe: No more DSP but DSW and SLN in VC6.0 PinmemberH.Brydon30-Apr-13 19:58 
GeneralRe: No more DSP but DSW and SLN in VC6.0 PinmemberVaclav_Sal1-May-13 10:38 
QuestionHelp with KB Q147578 PinmemberForNow29-Apr-13 9: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 10:41 
AnswerRe: Help with KB Q147578 PinmemberForNow29-Apr-13 10:56 
QuestionAdvise / patterns on modeling data and business components PinmemberFernando A. Gomez F.29-Apr-13 5:50 
QuestionHow to make an edit box accept only digits from 0 - 9 in mfc.? Pinmembermbatra3128-Apr-13 22:15 
AnswerRe: How to make an edit box accept only digits from 0 - 9 in mfc.? PinmemberFreak3028-Apr-13 23:10 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pinmembermbatra3128-Apr-13 23:35 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? PinmemberVaclav_Sal29-Apr-13 7:11 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pinmembermbatra3129-Apr-13 19:54 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? PinmemberVaclav_Sal30-Apr-13 4:47 
GeneralRe: How to make an edit box accept only digits from 0 - 9 in mfc.? Pinmembermbatra3130-Apr-13 20:27 
AnswerRe: How to make an edit box accept only digits from 0 - 9 in mfc.? PinmemberRolf Kristensen29-Apr-13 5:18 
Questionproblem in clips programming Pinmembera.fatemeh28-Apr-13 3:02 
AnswerRe: problem in clips programming PinmemberThePhantomUpvoter28-Apr-13 3:13 
GeneralRe: problem in clips programming Pinmembera.fatemeh28-Apr-13 3:19 
GeneralRe: problem in clips programming PinmvpRichard MacCutchan28-Apr-13 3:29 
GeneralRe: problem in clips programming Pinmembera.fatemeh28-Apr-13 3:51 
GeneralRe: problem in clips programming PinmemberThePhantomUpvoter28-Apr-13 3:31 
AnswerMy Vote of 1 PinmentorKeith Barrow28-Apr-13 8:45 
GeneralRe: My Vote of 1 Pinmembera.fatemeh28-Apr-13 23:46 
GeneralRe: My Vote of 1 PinmemberH.Brydon30-Apr-13 20:02 
QuestionHow to make a EXE in windows PinmemberOmarSH27-Apr-13 8:10 
AnswerRe: How to make a EXE in windows PinmemberThePhantomUpvoter27-Apr-13 17:50 
GeneralRe: How to make a EXE in windows PinmemberOmarSH28-Apr-13 7:29 
GeneralRe: How to make a EXE in windows Pinmemberdusty_dex28-Apr-13 8:00 
GeneralRe: How to make a EXE in windows Pinmember«_Superman_»28-Apr-13 20:18 
GeneralRe: How to make a EXE in windows PinmvpRichard MacCutchan28-Apr-13 23:25 
AnswerRe: How to make a EXE in windows PinmemberBrandon-X1200028-Apr-13 12:29 
GeneralRe: How to make a EXE in windows PinmvpRichard MacCutchan28-Apr-13 23:23 
GeneralRe: How to make a EXE in windows PinmemberOmarSH29-Apr-13 12:07 
QuestionRe: How to make a EXE in windows PinmemberDavidCrow29-Apr-13 17:33 
AnswerRe: How to make a EXE in windows PinmemberOmarSH30-Apr-13 7:16 
QuestionRe: How to make a EXE in windows PinmemberDavidCrow30-Apr-13 7:27 
AnswerRe: How to make a EXE in windows PinmemberOmarSH30-Apr-13 7:50 
QuestionRe: How to make a EXE in windows PinmemberDavidCrow30-Apr-13 8:12 
AnswerRe: How to make a EXE in windows PinmemberOmarSH30-Apr-13 9:10 
QuestionRe: How to make a EXE in windows PinmemberDavidCrow30-Apr-13 9:45 

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
Web04 | 2.8.1411023.1 | Last Updated 24 Nov 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid