Help: CommandData::Message



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 09/06/2005 at 08:48, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   8.503 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    Hi,

    I just wanted to make some minor changes to some of my menu plugins written for 8.1, but now I get some linker errors:

    MenuTest.obj : error LNK2001: Nichtaufgeloestes externes Symbol "public: virtual void __thiscall CommandData::Message(class BaseContainer const &)" (?Message@CommandData@@UAEXABVBaseContainer@@@Z)

    Is that problem caused by upgrading to 8.5? What can I do to solve this problem?

    Thanks in advance.
    Klaus



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 09/06/2005 at 10:35, xxxxxxxx wrote:

    Hi,

    have you changed all according class declarations according to your changes? It seems he cannot find the overloaded message function (or a typo in the member function declaration).

    Katachi



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 09/06/2005 at 11:08, xxxxxxxx wrote:

    I only use the Execute method of the commanddata class.
    I even cannot compile the menutest sdk example!
    The message function is defined in commanddata.h. I also recompiled the api, but with no effect.

    When I try to compile the whole cinema4dsdk project, I'll get some compiler errors like:
    cinema4dsdk\source\object\MorphMixer.cpp(153) : error C2664: 'CreateKey' : Konvertierung des Parameters 3 von 'float' in 'const class BaseTime &' nicht moeglich
    or:
    cinema4dsdk\source\shader\SimpleMaterial.cpp(222) : error C2664: 'RenderDocument' : Konvertierung des Parameters 5 von 'class BaseContainer' in 'class BaseBitmap *' nicht moeglich

    So maybe my sdk is not up-to-date! But where can I get the current one? I didn't find any download-link on this site :-(



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 09/06/2005 at 15:21, xxxxxxxx wrote:

    your sdk surely is (the latest always comes with Cinema 4D or the demo) but your code is not. From 8.2 -> 8.5 some functions have been changed or removed, so you need to adapt your functions to the new ones. So yes, it´s probably due to the update.


Log in to reply