Another mxj standalone issues
Hello,
first :
MaxSystem.isStandalone() doesn't work for me.
It always return false, in a standalone, in max runtime or in max.
second :
The documentation says there should be a MaxSystem.isRuntime() function and compiler disagrees.
thanks
léo
Which version of Max are you using? You need 5.0.6 or higher to use MaxSystem.isRuntime().
Hi Emmanuel,
I'm using MaxMSP 5.0.7
Léo
Mac OS or Windows?
Mac Os 10.5.8
léo
That's odd. Make sure that you compile against the latest max.jar. What I did was:
- create an object "mxj quickie toto"
- double click on it
- modify the bang method:
public void bang()
{
outlet(0, MaxSystem.isRuntime());
}
- compiled
- made an object "mxj toto" and connected a numbox to the left outlet
- sent a bang to "mxj toto" it reported 0.
Thanks Emmanuel,
And sorry, I made a confusion between two eclipse project, one with max.jar from max4.6, the other with the one from max5.
So everything's fine with MaxSystem.isRuntime().
But MaxSystem.isStandAlone() always returns false for me.
My life doesn't depend on it but if you have time to check...
Thanks again
Leo