Another mxj standalone issues

Sep 2, 2009 at 3:57pm

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

#45311
Sep 2, 2009 at 9:43pm

Which version of Max are you using? You need 5.0.6 or higher to use MaxSystem.isRuntime().

#163295
Sep 2, 2009 at 10:55pm

Hi Emmanuel,

I’m using MaxMSP 5.0.7

Léo

#163296
Sep 3, 2009 at 11:27am

Mac OS or Windows?

#163297
Sep 3, 2009 at 12:54pm

Mac Os 10.5.8

léo

#163298
Sep 3, 2009 at 2:04pm

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.

#163299
Sep 3, 2009 at 2:51pm

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

#163300

You must be logged in to reply to this topic.