On 27/03/2015 at 12:41, xxxxxxxx wrote:
Yes, the debug was very helpful, I didn't know about it!
So I commented out some plugins and now I see the effects.
But I just have no idea why those plugins are not registering.
The bigger problem is that I was actually having the same with my plugin, the sdk was just to test why it happened with some reliable code.
My plugin was made with R13 and worked until R15.
So I ported it to R16, and made it compatible with R13 with some defines and typedefs (below).
And now the R13 version won't work on R15, it crashes all the time.
So I compiled it with R15 sdk using the new R16 syntax and with some modifications it now works for me.
But there's one user who says his new R15 version is crashing, but if he uses the R13 version, it will work.
This R15 instability is getting really annoying.
Here's what I added to the R13 version to make it compatible with R16:
//#if (defined C4DR13) || (defined C4DR15)
#if (defined C4DR13)
// R13/14/15 compatibility to R16
typedef Real Float;
typedef SReal Float32;
typedef LONG Int32;
typedef LMatrix Matrix;
typedef UWORD UInt16;
#define SetFloat SetReal
#define GetFloat GetReal
#define SetInt32 SetLong
#define GetInt32 GetLong
#define PI pi
#define PI2 pi2
#define PI05 pi05
#endif // C4DR13