On 10/20/06, Greg <[EMAIL PROTECTED]> wrote:
I was able to cast using the following:

        ShellRunParams  *pParams;
        pParams = static_cast <ShellRunParams *> (cmdPBP);

But I am getting a link error which I think is from linking C code with C++ 
code.

Is it possible to use both C++ and C code in the same project with CW?

Yes, but you'll need to use extern "C" on definitions in the C++ code
that needs to be visible from the C side in order to avoid name
mangling.

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to