GePrint crash Cinema4D
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/05/2004 at 07:14, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.500
Platform: Windows ;
Language(s) : C++ ;---------
Hi.
If i have to this:GePrint (ptagMain->GetObject()->GetName());
(ptagMain is valid pointer to a tag plugin!)
then C4D crash always.
What is wrong?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/05/2004 at 11:15, xxxxxxxx wrote:
Did you check if ptagMain->GetObject() and ptagMain->GetObject()->GetName() are valid?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/05/2004 at 23:37, xxxxxxxx wrote:
Hi.
Thx for proposal. I forgot to check the pointer.
Question:
1. How can i check, that any one of my direct child objects has been moved in the hierarchy, new child added or old removed?
2. How i can communicate between two plugins? -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 19/05/2004 at 02:17, xxxxxxxx wrote:
1. I have not done this but I think you can find this out by checking the Message function for your plugin type.
For example TagData::Message() or maybe even CoreMessage
2. What kind of communication are you after? I recently made a object data plugin that needs to retrieve data from a custom tag plugin. I simply had to get the BaseContainer of the tag object, and read the values from it
Something on these linesBaseTag* tag = op->GetTag(MYPLUGINTAG_ID); if(tag) { BaseContainer bc = tag->GetData(); Real r = bc.GetReal(REAL_DATA,0.0); }