Register description / .str search path
-
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.... -
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.)
-
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?
-
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.
-
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. -
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.