![]() |
Compile Error on VS 2003 |
Post Reply
|
| Author | |
eyalmolad
Newbie
Joined: 09 June 2005 Status: Offline Points: 1 |
Post Options
Thanks(0)
Quote Reply
Topic: Compile Error on VS 2003Posted: 09 June 2005 at 5:32am |
|
HI. I am trying to compile XToolkit 1.93 source code version on VS 2003. I am getting compilation error with templates. template <class TDelegate>class CXTMultiCastDelegate : public CArray<TDelegate, const TDelegate&> { public : typedef TDelegate DELEGATE; typedef DELEGATE::CB CB; int Add(CObject* target, CB cb){ return CArray<TDelegate, const TDelegate&>::Add(DELEGATE(target, cb));} };
I am getting error on CB parameter. Compiler said it's undeclared identifier. On VS 6 it compiled ok. Any suggestions. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 June 2005 at 3:40pm |
|
replace the lines to
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |