Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Register
    • Login

    String problem !?

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 171 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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 ?

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post