THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/01/2005 at 03:54, xxxxxxxx wrote:
Cinema 4D Version: 8.200
Platform: Windows ;
Language(s) : C++ ;
I've got a simple custom modal dialog derived from GeModalDialog, built using the C4D 8.2 (because I want back-compatibility).
Unfortunately, I've got an intermittent problem with it. Sometimes C4D crashes when I dismiss the dialog. Sometimes it doesn't. When it doesn't, it behaves exactly as it should.
This sounds like a memory allocation/overwriting problem of some sort. I've tried allocating the dialog object both on the heap (with gNew) and on the stack, and can get the problem with either.
My symptoms sound very like those described in this thread (though I haven't tested on a Mac) :
I don't believe that I have any globals/statics (I need to double check this).
I also tried using the dialog code from the 'Serial' example in the SDK, and got the same problems.
I know the above information is a bit vague, but does anyone have any suggestions for things to check, or any known issues with ModalDialogs...
Cheers - Steve