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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    same code crashes on Windows

    SDK Help
    0
    4
    307
    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
      Helper
      last edited by

      On 09/12/2013 at 08:39, xxxxxxxx wrote:

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

      ---------
      In the process of making my plugins cross platform I have this problem with one plugin:

      After major overhaul (in X Code on the Mac) it works fine on the Mac in R15 and R12.
      I moved the code to Windows 7 compiled there without issues  and both R15 and R12 crash after I try to activate the plugin. The console shows that it installed correctly. But when I select it from the Plugins menu I get the Application Error.

      Since it crashes before the dialog shows I wonder if there is a problem in the resource file (foreign characters?).

      While the Application Error dialog gives me a path to the _bugReports folder (C:\Users\username\AppData\Roaming....) in my username folder there is no AppData. Could this be somewhere else or can this be configured? I know where stuff is on MacOS but Windows still has deep mysteries.

      Thanks

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

        On 09/12/2013 at 08:47, xxxxxxxx wrote:

        Yikes! I just noticed that the crash happens on MacOS also. Best to ignore (or delete) the original post.

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

          On 10/12/2013 at 02:03, xxxxxxxx wrote:

          Have you tried using the Debugger? Imo, the Visual Studio debugger is very easy to use.

          Best,
          -Niklas

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

            On 10/12/2013 at 18:38, xxxxxxxx wrote:

            Thanks for the response, Niklas
            I'll try the VS debugger. Windows is still a bit suspect for me.

            But, as I mentioned, when my plugin crashed on the Mac also the error was quickly hunted down. Can't get a Matrix from an non-initialized BaseObject.

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