Plugin loading order?



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

    On 14/08/2007 at 14:57, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   R9-R10 
    Platform:   Windows  ; Mac  ;  Mac OSX  ; 
    Language(s) :     C++  ;

    ---------
    Howdy,

    Is it possible to make one plugin load before another?

    For example if you have a free plugin version with limited functionality and a commercial plugin version with full functionality, and wanted to make sure that if a user purchases the commercial version and forgets to remove the free version, that the commercial version loads before the free version, so that the free version can check if the commercial version was loaded, and if so not load. Is that possible?

    Adios,
    Cactus Dan



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

    On 14/08/2007 at 16:45, xxxxxxxx wrote:

    Howdy,

    OK, nevermind figured it out myself, as usual. ;)

    Adios,
    Cactus Dan



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

    On 14/08/2007 at 17:31, xxxxxxxx wrote:

    What was the solution, pray tell? :)

    ... just in case I need something similar in the future...



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

    On 14/08/2007 at 17:35, xxxxxxxx wrote:

    Howdy,

    I found it in the docs:

      
    Bool PluginMessage(LONG id, void *data)  
    {  
        switch (id)  
        {  
        case C4DMSG_PRIORITY: SetPriority(data, C4DPL_INIT_PRIORITY_PLUGINS+100); return TRUE;  
        case MY_MESSAGE: { ... } return TRUE;  
        }  
      
        return FALSE;  
    }  
    

    Adios,
    Cactus Dan



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

    On 14/08/2007 at 20:07, xxxxxxxx wrote:

    Thank you very much, Dan! :)

    ::vote Cas Haley!:: ;P


Log in to reply