Click here to Skip to main content
15,926,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: design pattern problem Pin
10-Mar-02 18:07
suss10-Mar-02 18:07 
GeneralRe: design pattern problem Pin
10-Mar-02 10:07
suss10-Mar-02 10:07 
GeneralRe: design pattern problem Pin
10-Mar-02 18:08
suss10-Mar-02 18:08 
GeneralRe: design pattern problem Pin
Ravi Bhavnani10-Mar-02 10:43
professionalRavi Bhavnani10-Mar-02 10:43 
GeneralRe: design pattern problem Pin
10-Mar-02 18:12
suss10-Mar-02 18:12 
GeneralRe: design pattern problem Pin
10-Mar-02 18:13
suss10-Mar-02 18:13 
GeneralRe: design pattern problem Pin
Joaquín M López Muñoz10-Mar-02 10:58
Joaquín M López Muñoz10-Mar-02 10:58 
Generalstarting a thread Pin
10-Mar-02 9:31
suss10-Mar-02 9:31 
I'm getting the error message:
'Cx::Cx' : cannot access protected member declared in class 'Cx'


I used the classwizard to create a CWinThread derived class Cx.
And I see that i places the construtor in the protected section.

Now I read that there were two ways to start the thread, one that uses AfxBeginThread /ResumeThread and this one:

Cx * thread = new Cx();
thread->m_x = 1;
thread->CreateThread();


I like this implimentation and would like to get it to work but I'm not sure how.


GeneralRe: starting a thread Pin
Paul M Watt10-Mar-02 9:55
mentorPaul M Watt10-Mar-02 9:55 
GeneralRe: starting a thread Pin
10-Mar-02 10:45
suss10-Mar-02 10:45 
GeneralRe: starting a thread Pin
Paul M Watt10-Mar-02 18:49
mentorPaul M Watt10-Mar-02 18:49 
GeneralMember var/func deletion Pin
Travis D. Mathison10-Mar-02 8:14
Travis D. Mathison10-Mar-02 8:14 
GeneralRe: Member var/func deletion Pin
Joaquín M López Muñoz10-Mar-02 8:33
Joaquín M López Muñoz10-Mar-02 8:33 
GeneralRe: Member var/func deletion Pin
Travis D. Mathison10-Mar-02 8:31
Travis D. Mathison10-Mar-02 8:31 
GeneralRe: Member var/func deletion Pin
Joaquín M López Muñoz10-Mar-02 8:41
Joaquín M López Muñoz10-Mar-02 8:41 
GeneralRe: Member var/func deletion Pin
Michael Dunn10-Mar-02 19:51
sitebuilderMichael Dunn10-Mar-02 19:51 
GeneralTab View Pin
10-Mar-02 7:29
suss10-Mar-02 7:29 
GeneralRe: Tab View Pin
Michael Dunn10-Mar-02 8:04
sitebuilderMichael Dunn10-Mar-02 8:04 
GeneralBitmaps Pin
10-Mar-02 7:25
suss10-Mar-02 7:25 
GeneralRe: Bitmaps Pin
Paul M Watt10-Mar-02 7:57
mentorPaul M Watt10-Mar-02 7:57 
Generalcommunicate with activex control Pin
10-Mar-02 6:27
suss10-Mar-02 6:27 
GeneralRe: communicate with activex control Pin
Derek Waters10-Mar-02 11:36
Derek Waters10-Mar-02 11:36 
GeneralRe: communicate with activex control Pin
10-Mar-02 14:20
suss10-Mar-02 14:20 
GeneralAccessing a protected directory Pin
Miguel Lopes10-Mar-02 5:48
Miguel Lopes10-Mar-02 5:48 
QuestionHow I can find if my application is running under debugger? Pin
10-Mar-02 5:39
suss10-Mar-02 5:39 

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.