sn_hook / id question
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/10/2010 at 05:41, xxxxxxxx wrote:
User Information:
Cinema 4D Version:
Platform:
Language(s) : C++ ;---------
Hi there,do i really need to have a separate plugin id for this??
Bool Register_plugin_reg() { snhook = gNew plugin_reg; return snhook->Register(ID_plugin_reg, SNFLAG_OWN); return FALSE; }
thanks in advance,
Ello -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/10/2010 at 08:37, xxxxxxxx wrote:
Use your main plugin id for Register(). For instance:
return snhook->Register(ID_INTERPOSERPRO, SNFLAG_OWN);
Btw: the "return FALSE;" line is unreachable code.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/10/2010 at 10:51, xxxxxxxx wrote:
thank you for that info
cheers,
Ello