Divison by zero in GeAutoDynamicArray
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 14/11/2008 at 07:07, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 11
Platform:
Language(s) :---------
Hi!I have a small problem with GeAutoDynamicArray - can anyone help me?
I use a struct:
>
\> typedef struct iDialogElement{ \> iDialogElement() : name(""), type(0) {} \> GeData name; \> LONG type; \> }DialogElement; \>
as template in GeAutoDynamicArray. When I want to push something to the end of the array, this happens:
ge_dynamicarray.h <- occurs at line [627]
Do i have to set the blocksize manually?Thanks for your help.
Good bye
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/11/2008 at 00:19, xxxxxxxx wrote:
I can not confirm this, it is working fine here. My code:
>
\> struct iDialogElement \> { \> iDialogElement() : name(""), type(0) {} \> GeData name; \> LONG type; \> }; \> \> typedef iDialogElement DialogElement; \> \> \> Bool MenuTest::Execute(BaseDocument \*doc) \> { \> DialogElement dlgelmt; \> \> GeAutoDynamicArray<DialogElement> dlgelmtarr; \> \> dlgelmtarr.Push(dlgelmt); \> \> return TRUE; \> } \>
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/11/2008 at 00:25, xxxxxxxx wrote:
Hi!
Thats really strange, sometimes I believe Cinema 4D has an anti-shawni setting.
I will check it again and fix my bug.
Thanks Matthias..