Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Register description / .str search path

    SDK Help
    0
    6
    498
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

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

      On 16/07/2004 at 07:53, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.207 
      Platform:      
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      I defined a container and register it by
      if( !RegisterDescription( 1000005, "OBaseObjectExtension" ) ) return FALSE;
      Normaly, the according string files are searched in the res path of my plugin, I did that in several plugins before, it always worked.
      Now I made a new plugin, but the str files are searched in the cinema resource path....
      I can remember I've done something in my other plugins...but I can't remember what, and I even do not find it, anyone knows it? Friday afternoons....

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

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

        On 17/07/2004 at 16:00, xxxxxxxx wrote:

        I think you're missing resource.Init() in your PluginMessage() function, under C4DPL_INIT_SYS. (Please see the cinema4dsdk project.)

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

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

          On 19/07/2004 at 00:26, xxxxxxxx wrote:

          Hm no I have it.... maybe I want to do something impossible: I have to plugins in different drawers, one ot them registers a description, and the other plugin wants to include the description in its container. Is that somehow possible, or should I better search for a different solution?

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

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

            On 19/07/2004 at 05:30, xxxxxxxx wrote:

            Hm...checked resource.Init....it always returns FALSE, haves no idea why.

            1 Reply Last reply Reply Quote 0
            • H
              Helper
              last edited by

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

              On 19/07/2004 at 05:38, xxxxxxxx wrote:

              Ok....found it!
              There always needs to be a c4d_symbols.h in the res directory. Because my plugin only registers a description, I did not need to define any symbols, so I left this file out -> resource.Init fails.

              1 Reply Last reply Reply Quote 0
              • H
                Helper
                last edited by

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

                On 20/07/2004 at 02:03, xxxxxxxx wrote:

                Ok. I also think you have to make sure that the plugin that registers the description is loaded before the other one. Please check PluginMessage() in the docs for how to set your priority.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post