THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/10/2009 at 12:40, xxxxxxxx wrote:
Cinema 4D Version: 11.5
Language(s) : C++ ;
Can anyone check out this code?
\> BaseContainer bc;
\> bc.SetReal(1, (Real)5.0);
\> bc.SetLong(1, (LONG)3);
Can anyone confirm? In my opinion it should be DA_LONG.
On 26/10/2009 at 02:39, xxxxxxxx wrote:
Confirmed in R10 and R11.5. And yes, I would also have thought it should be DA_LONG.
On 26/10/2009 at 02:59, xxxxxxxx wrote:
Also in GeData.
On 26/10/2009 at 03:31, xxxxxxxx wrote:
It's not allowed to change the type of a container value.
From the docu:
Once you've set a container value using one type you must neither try to access it using another type, nor overwrite it with a value of another type! Using the wrong access will not crash, but it is illegal.
On 26/10/2009 at 04:28, xxxxxxxx wrote:
Yes, reading the docu might help. Thanks Matthias!