same code crashes on Windows

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.


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.

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.


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.