AnsweredAssumed Answered

Linking .cpp & .c _tasks  using MQX4.0 CW10.3

Question asked by Tom Junkans on Feb 16, 2013
Latest reply on Feb 18, 2013 by Tom Junkans

I'm trying to add a C++ task into a C project, the example cplus.cpp code. cplus.cpp builds and runs fine on my custom BSP alone. I moved it into my main project and tried to fire off the cplus_task() from inside my C code, like all my other _tasks but the linker complains it cannot find cplus_task(). 

 

Does anyone know if I can do this?

Or is there another way?

 

Thanks much for any help or ideas, this may be my last big hurdle (for awhile of course).

Cheers,

Tom

Outcomes