Error 126 loading external spat5.spat~ on Windows

I would like to use spat package (last version 5.1.0) but when I call the object “spat5.spat~” I’ve this message :
Error 126 loading external spat5.spat~
I’ve a windows machine of course… And with max 7.

I tried many things, nothing works.

I thing it’s mayby a error of compilation, but I don’t enough to know what to do.

Looking for some helps, thanks!


Hi Clément,

How about that :

macOS :

  • mount the Spat 5 disk image
  • copy the content to your Max Packages folder (typically ~/Documents/Max 7/Packages)
  • launch Max in 64 bit mode


  • install the “Visual C++ Redistributable Packages for Visual Studio 2017”; you can (freely) download it from Microsoft website:
    Select “Microsoft Visual C++ 2017 Redistributable” and “x64” and follow the instructions for installation.

  • unzip the spat 5 archive, and copy the content to your Max Packages folder

  • copy the following DLL files from the Spat package:
    alongside the Max 64 bit executable i.e.: C:\Programmes\Cycling ’74\Max 7\

  • launch Max 64 bit

(in the previous instructions, replace “Max 7” with “Max 8” if needed)

Thanks for answer so quickly.
I’ve allready see this solution but I don’t really understand… Can you explain me a little bit more please ? I have to find “Microsoft Visual C++ 2017 Redistributable” in the individual conponent ?

Maybe this link will be easier :
Then download the “vc_redist.x64.exe” file (Visual Studio 2017) and install it.


Perfect !
It’s work!
Thank you so much I spend the whole day with that…


Some news about this, I’ve just have this (error 126) because the .dll dependencies were not in the same folder as Max