Click here to Skip to main content
15,886,664 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Communicating dialog boxes Pin
kitty52-Feb-07 2:33
kitty52-Feb-07 2:33 
GeneralRe: Communicating dialog boxes Pin
Hamid_RT2-Feb-07 4:32
Hamid_RT2-Feb-07 4:32 
QuestionDeclaration of CSemaphore fails Pin
BuckBrown1-Feb-07 7:57
BuckBrown1-Feb-07 7:57 
AnswerRe: Declaration of CSemaphore fails Pin
led mike1-Feb-07 8:06
led mike1-Feb-07 8:06 
GeneralRe: Declaration of CSemaphore fails Pin
BuckBrown1-Feb-07 8:21
BuckBrown1-Feb-07 8:21 
GeneralRe: Declaration of CSemaphore fails Pin
led mike1-Feb-07 8:44
led mike1-Feb-07 8:44 
GeneralRe: Declaration of CSemaphore fails Pin
BuckBrown1-Feb-07 9:32
BuckBrown1-Feb-07 9:32 
GeneralRe: Declaration of CSemaphore fails Pin
Zac Howland1-Feb-07 9:31
Zac Howland1-Feb-07 9:31 
BuckBrown wrote:
class CTests : public CWnd
{
// Construction
public:
CTests();

CTemperature* pTemperature;
COutput* pOutput;
CGPIB* pGPIB;
CTabPageSSL* pTabPage;

CSemaphore cph(1, 5);


Doing that in the header file won't compile. The overloaded constructor should be invoked using the constructor of your CTests class:

<code>CTests::CTests() : cph(1, 5) { // do whatever else you want to in the constructor here }




If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

GeneralRe: Declaration of CSemaphore fails Pin
BuckBrown1-Feb-07 12:19
BuckBrown1-Feb-07 12:19 
Questionfatal error C1083: Cannot open include file: 'X11/Xlib.h' Pin
Khoramdin1-Feb-07 6:09
Khoramdin1-Feb-07 6:09 
AnswerRe: fatal error C1083: Cannot open include file: 'X11/Xlib.h' Pin
toxcct1-Feb-07 6:17
toxcct1-Feb-07 6:17 
AnswerRe: fatal error C1083: Cannot open include file: 'X11/Xlib.h' Pin
jhwurmbach1-Feb-07 6:18
jhwurmbach1-Feb-07 6:18 
AnswerRe: fatal error C1083: Cannot open include file: 'X11/Xlib.h' Pin
Mark Salsbery1-Feb-07 7:47
Mark Salsbery1-Feb-07 7:47 
AnswerRe: fatal error C1083: Cannot open include file: 'X11/Xlib.h' Pin
Khoramdin1-Feb-07 9:28
Khoramdin1-Feb-07 9:28 
GeneralRe: fatal error C1083: Cannot open include file: 'X11/Xlib.h' [modified] Pin
Mark Salsbery1-Feb-07 10:24
Mark Salsbery1-Feb-07 10:24 
GeneralRe: fatal error C1083: Cannot open include file: 'X11/Xlib.h' Pin
Khoramdin1-Feb-07 11:47
Khoramdin1-Feb-07 11:47 
QuestionVC++ Directory Setting Utility for FREE !!! Pin
avanish1231-Feb-07 5:54
avanish1231-Feb-07 5:54 
AnswerRe: VC++ Directory Setting Utility for FREE !!! Pin
PJ Arends1-Feb-07 10:05
professionalPJ Arends1-Feb-07 10:05 
AnswerRe: VC++ Directory Setting Utility for FREE !!! Pin
Hamid_RT2-Feb-07 4:32
Hamid_RT2-Feb-07 4:32 
QuestionHow to change background color of dialog box.. Pin
Shah Satish1-Feb-07 5:18
Shah Satish1-Feb-07 5:18 
AnswerRe: How to change background color of dialog box.. Pin
toxcct1-Feb-07 5:26
toxcct1-Feb-07 5:26 
GeneralRe: How to change background color of dialog box.. Pin
Shah Satish1-Feb-07 5:55
Shah Satish1-Feb-07 5:55 
AnswerRe: How to change background color of dialog box.. Pin
jhwurmbach1-Feb-07 5:51
jhwurmbach1-Feb-07 5:51 
GeneralRe: How to change background color of dialog box.. Pin
Shah Satish1-Feb-07 6:00
Shah Satish1-Feb-07 6:00 
GeneralRe: How to change background color of dialog box.. Pin
jhwurmbach1-Feb-07 6:12
jhwurmbach1-Feb-07 6:12 

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.