Click here to Skip to main content
15,895,084 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Getting AppData Directory Path Pin
MicroVirus6-Sep-11 15:31
MicroVirus6-Sep-11 15:31 
GeneralRe: Getting AppData Directory Path Pin
jwalker3437-Sep-11 16:03
jwalker3437-Sep-11 16:03 
Questionhelp me!!! Pin
zz526335731-Aug-11 5:30
zz526335731-Aug-11 5:30 
QuestionHow to use forms / dialog boxes with an ATL Project / BHO? Pin
abetterword23-Aug-11 4:22
abetterword23-Aug-11 4:22 
AnswerRe: How to use forms / dialog boxes with an ATL Project / BHO? Pin
MicroVirus6-Sep-11 2:06
MicroVirus6-Sep-11 2:06 
QuestionFailure to Recognise Base Class [modified] Pin
Bram van Kampen19-Aug-11 13:47
Bram van Kampen19-Aug-11 13:47 
AnswerRe: Failure to Recognise Base Class Pin
Richard MacCutchan20-Aug-11 0:23
mveRichard MacCutchan20-Aug-11 0:23 
GeneralRe: Failure to Recognise Base Class Pin
Bram van Kampen20-Aug-11 15:47
Bram van Kampen20-Aug-11 15:47 
Richard MacCutchan wrote:
I'm not an MFC expert but should the line
C++
DECLARE_DYNAMIC( CProgressDlg )
not be public?


Well,
DECLARE_DYNAMIC() is defined in the Microsoft 'AFX.H' as follows:-
C++
#define DECLARE_DYNAMIC(class_name) \
protected: \
	static CRuntimeClass* PASCAL _GetBaseClass(); \
public: \
	static const AFX_DATA CRuntimeClass class##class_name; \
	virtual CRuntimeClass* GetRuntimeClass() const; \


It sets it's own inheritance Access Model Prepending it with 'public' should not (and does not) have any effect. Actually, looking at the macro above, The DECLARE_DYNAMIC(...) macro causes all following properties to be declared public by default. The CPP language has no(t yet)(a) syntax to 'push' or 'pop' the 'public', 'protected', 'private' storage type 'state'.

I made a stupid error there somewhere, that upsets the Class Hierarchie as perceived by the compiler.



Thanks Smile | :)
Bram van Kampen

GeneralRe: Failure to Recognise Base Class Pin
Richard MacCutchan20-Aug-11 23:32
mveRichard MacCutchan20-Aug-11 23:32 
AnswerRe: Failure to Recognise Base Class Pin
«_Superman_»22-Aug-11 13:14
professional«_Superman_»22-Aug-11 13:14 
QuestionCommon Controls Issue Pin
Tracy Software16-Aug-11 2:55
Tracy Software16-Aug-11 2:55 
Questioniterator default value [modified] Pin
liquid_5-Aug-11 1:34
liquid_5-Aug-11 1:34 
AnswerRe: iterator default value Pin
Stephen Hewitt6-Aug-11 20:40
Stephen Hewitt6-Aug-11 20:40 
GeneralRe: iterator default value Pin
liquid_7-Aug-11 9:18
liquid_7-Aug-11 9:18 
QuestionSOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\ Pin
VeganFanatic24-Jul-11 8:44
VeganFanatic24-Jul-11 8:44 
QuestionRe: SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\ Pin
Richard MacCutchan24-Jul-11 21:09
mveRichard MacCutchan24-Jul-11 21:09 
AnswerRe: SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\ Pin
VeganFanatic25-Jul-11 2:25
VeganFanatic25-Jul-11 2:25 
GeneralRe: SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\ Pin
Richard MacCutchan25-Jul-11 3:33
mveRichard MacCutchan25-Jul-11 3:33 
AnswerRe: SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\ Pin
MicroVirus6-Sep-11 2:18
MicroVirus6-Sep-11 2:18 
QuestionHelp regarding method WNetCancelConnection2 Pin
tasumisra18-Jul-11 23:42
tasumisra18-Jul-11 23:42 
AnswerRe: Help regarding method WNetCancelConnection2 Pin
Richard MacCutchan19-Jul-11 0:35
mveRichard MacCutchan19-Jul-11 0:35 
QuestionProblems with Docking Toolbars Pin
Syamlal S Nair18-Jul-11 17:59
Syamlal S Nair18-Jul-11 17:59 
QuestionCompiling with VS2010 Pin
Kyudos14-Jul-11 13:39
Kyudos14-Jul-11 13:39 
AnswerRe: Compiling with VS2010 Pin
Albert Holguin15-Jul-11 3:54
professionalAlbert Holguin15-Jul-11 3:54 
GeneralRe: Compiling with VS2010 [modified] Pin
Kyudos17-Jul-11 17:50
Kyudos17-Jul-11 17:50 

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.