figuring out if Max or Ableton is 64 bit?

arokhsar's icon

Is it possible to query whether the current version of Max or Ableton being run is 64 bit vs 32 bit?

I know I can find out the version numbers of both Max and Ableton, but they don't seem to indicate anything about the bit mode.

I am asking because I am building a Max for Live device which uses jit.qt.movie with the @colormode uyvy attribute, and that attribute is not currently supported in the 64 bit version of Max. I'd like to program the device so that if it detects the 64 bit version is running, it handles the video processing differently.

Emmanuel Jourdan's icon
Max Patch
Copy patch and select New From Clipboard in Max.

You can use the max's getarch message:

arokhsar's icon

Thank you very much, Emmanuel!