Click here to Skip to main content
15,897,518 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: How to get LoginNames of all Users in my Domain? Pin
David Crow24-Sep-08 4:11
David Crow24-Sep-08 4:11 
AnswerRe: How to get LoginNames of all Users in my Domain? Pin
Hamid_RT24-Sep-08 6:15
Hamid_RT24-Sep-08 6:15 
Questiondeletion of thread pointer Pin
ptr_Electron24-Sep-08 0:41
ptr_Electron24-Sep-08 0:41 
AnswerRe: deletion of thread pointer Pin
SandipG 24-Sep-08 0:55
SandipG 24-Sep-08 0:55 
AnswerRe: deletion of thread pointer Pin
CPallini24-Sep-08 0:59
mveCPallini24-Sep-08 0:59 
AnswerRe: deletion of thread pointer Pin
perle124-Sep-08 1:14
perle124-Sep-08 1:14 
AnswerRe: deletion of thread pointer Pin
Roger Stoltz24-Sep-08 1:51
Roger Stoltz24-Sep-08 1:51 
QuestionC2668 Pin
T.RATHA KRISHNAN24-Sep-08 0:30
T.RATHA KRISHNAN24-Sep-08 0:30 
Hi!
I've to call a function from my implementation file. It has two versions in the header file. These are:

Version1:

osg::Switch* GetSwitch(const std::string& name);



const osg::Switch* GetSwitch(const std::string& name) const;


I'm calling this function in my .cpp file as follows:

const std::string SwitchName = SignalNode->getName();
   osg::Switch* SignalSwitch = dynamic_cast<osg::Switch*>(NodeCollector::GetSwitch(SwitchName));


It shows error C2668 as shown below:

Macro definition of min detected - undefining
.\testAI.cpp(105) : error C2668: 'dtCore::NodeCollector::GetSwitch' : ambiguous call to overloaded function
C:\Program Files\Delta3D_REL-2.0.0\inc\dtCore/nodecollector.h(177): could be 'osg::Switch *dtCore::NodeCollector::GetSwitch(const std::string &)'
AnswerRe: C2668 Pin
toxcct24-Sep-08 0:36
toxcct24-Sep-08 0:36 
QuestionRe: C2668 Pin
T.RATHA KRISHNAN24-Sep-08 0:41
T.RATHA KRISHNAN24-Sep-08 0:41 
AnswerRe: C2668 [modified] Pin
SandipG 24-Sep-08 1:06
SandipG 24-Sep-08 1:06 
GeneralRe: C2668 Pin
T.RATHA KRISHNAN24-Sep-08 1:20
T.RATHA KRISHNAN24-Sep-08 1:20 
GeneralRe: C2668 Pin
SandipG 24-Sep-08 1:21
SandipG 24-Sep-08 1:21 
AnswerRe: C2668 Pin
toxcct24-Sep-08 4:22
toxcct24-Sep-08 4:22 
GeneralRe: C2668 [modified] Pin
SandipG 24-Sep-08 1:03
SandipG 24-Sep-08 1:03 
QuestionRe: C2668 Pin
Mahesh Kulkarni24-Sep-08 0:48
Mahesh Kulkarni24-Sep-08 0:48 
AnswerRe: C2668 Pin
toxcct24-Sep-08 0:56
toxcct24-Sep-08 0:56 
AnswerRe: C2668 Pin
SandipG 24-Sep-08 0:57
SandipG 24-Sep-08 0:57 
AnswerRe: C2668 Pin
sashoalm24-Sep-08 1:01
sashoalm24-Sep-08 1:01 
GeneralRe: C2668 Pin
T.RATHA KRISHNAN24-Sep-08 1:18
T.RATHA KRISHNAN24-Sep-08 1:18 
QuestionRe: C2668 Pin
Matthew Faithfull24-Sep-08 1:36
Matthew Faithfull24-Sep-08 1:36 
AnswerRe: C2668 Pin
SandipG 24-Sep-08 1:45
SandipG 24-Sep-08 1:45 
QuestionDebugging issue to watch variable values Pin
George_George24-Sep-08 0:03
George_George24-Sep-08 0:03 
AnswerRe: Debugging issue to watch variable values [modified] Pin
kapardhi24-Sep-08 1:36
kapardhi24-Sep-08 1:36 
GeneralRe: Debugging issue to watch variable values Pin
George_George24-Sep-08 20:17
George_George24-Sep-08 20:17 

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.