String problem !?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 17/02/2005 at 20:43, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   9.1 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    Hi,
    I worte a plug in and it seems that ever since i got the new 9.1 SDK i seem to be having crashes.
    to nail it down, i removed all the code that deals with my objects memory allocations, and only kept code that does nothing other than write strings to a file ... well, i get String::flush() crashes and sometimes it just crashes when i close the application. it all depends on how many strings are created (not dynamicly, e.g: String str = "a" + "b").
    the more strings are created in the loops, the earlier it crashes. So is this a string problem ?
    also, I found that the compiler settings allow for C++ exceptions although in the documentation it says that c++ exceptions are not supported ... also, i noticed that the runtime library was set to multithreaded debug instead of multithreaded debug dll ... i thought the cdl(plug in) was a dll, so why is the setting like that ?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 28/02/2005 at 13:09, xxxxxxxx wrote:

    Could you clarify what kinds of allocations causes the crashes? What do you mean by "not dynamically"? Is there a small piece of code that can repeatably cause the crash?


Log in to reply