Click here to Skip to main content
15,921,840 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Catching excel events inside DLL Pin
Ramu Pulipati20-Jun-02 1:40
Ramu Pulipati20-Jun-02 1:40 
GeneralRe: Catching excel events inside DLL Pin
Zizilamoroso20-Jun-02 2:42
Zizilamoroso20-Jun-02 2:42 
Generalabout map ( STL ) Pin
Camel19-Jun-02 23:43
Camel19-Jun-02 23:43 
GeneralRe: about map ( STL ) Pin
Niklas L19-Jun-02 23:52
Niklas L19-Jun-02 23:52 
GeneralRe: about map ( STL ) Pin
Camel20-Jun-02 15:21
Camel20-Jun-02 15:21 
GeneralRe: about map ( STL ) Pin
20-Jun-02 3:10
suss20-Jun-02 3:10 
GeneralRe: about map ( STL ) Pin
Camel20-Jun-02 15:22
Camel20-Jun-02 15:22 
Questionhow do I derive a class from a template class? Pin
Klaus Petersen19-Jun-02 23:20
Klaus Petersen19-Jun-02 23:20 
Hi
I am having trouble trying to derive one class from a template class.
I keep getting the following error when I try to derive the class CFlashText from the class CFlash.

error C2059: syntax error : ','

My code code looks like this:

Header file:
class CFlashText : public CText, public CFlash< CFlashText >
{
public:
CFlashText();
virtual ~CFlashText();
};

cpp file:
CFlashText::CFlashText()
: CText, CFlash< CFlashText > //<-- it is in this line the compiler gives me the error
{
}

CFlashText::~CFlashText()
{
}

Does anyone know why this error appears?

Klaus Petersen
AnswerRe: how do I derive a class from a template class? Pin
19-Jun-02 23:30
suss19-Jun-02 23:30 
GeneralRe: how do I derive a class from a template class? Pin
Klaus Petersen20-Jun-02 0:31
Klaus Petersen20-Jun-02 0:31 
AnswerRe: how do I derive a class from a template class? Pin
Niklas L19-Jun-02 23:48
Niklas L19-Jun-02 23:48 
GeneralRe: how do I derive a class from a template class? Pin
Klaus Petersen19-Jun-02 23:53
Klaus Petersen19-Jun-02 23:53 
GeneralRe: how do I derive a class from a template class? Pin
Niklas L20-Jun-02 1:03
Niklas L20-Jun-02 1:03 
GeneralRe: how do I derive a class from a template class? Pin
Klaus Petersen20-Jun-02 3:10
Klaus Petersen20-Jun-02 3:10 
GeneralRe: how do I derive a class from a template class? Pin
Chad Koehler20-Jun-02 5:15
Chad Koehler20-Jun-02 5:15 
GeneralRe: how do I derive a class from a template class? Pin
Niklas L25-Jun-02 1:57
Niklas L25-Jun-02 1:57 
QuestionAbout CDex? Pin
chen19-Jun-02 23:13
chen19-Jun-02 23:13 
GeneralIdle Time Out. Pin
19-Jun-02 23:08
suss19-Jun-02 23:08 
GeneralRe: Idle Time Out. Pin
19-Jun-02 23:38
suss19-Jun-02 23:38 
GeneralRe: Idle Time Out. Pin
vijayaramaraju20-Jun-02 0:16
vijayaramaraju20-Jun-02 0:16 
GeneralRe: Idle Time Out. Pin
20-Jun-02 2:08
suss20-Jun-02 2:08 
Question[long] VC7 : do you prefer LNK2005 or LNK2019 ? Pin
19-Jun-02 22:49
suss19-Jun-02 22:49 
GeneralLoad old version project problem Pin
19-Jun-02 22:42
suss19-Jun-02 22:42 
QuestionHow to get the handle of a running program in another program? Pin
Kiddxin19-Jun-02 22:26
Kiddxin19-Jun-02 22:26 
AnswerRe: How to get the handle of a running program in another program? Pin
19-Jun-02 22:52
suss19-Jun-02 22:52 

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.