saveas_promptset() not working on mac

Dec 9, 2013 at 9:58am

saveas_promptset() not working on mac

I’m coding a C external that wants to be able to save its own binary files. I’m using saveas_promptset() to try to show some text in the save dialog. It works on Windows, but the prompt text doesn’t show up on Mac. The dialog always just says “Save” in the titlebar. Here’s the relevant code:

char filename[MAX_PATH_CHARS];
short path;
t_fourcc typeChosen;
t_fourcc typeList = ‘EzQp’;

strcpy(filename, x->presetName);
strcat(filename, “.ezqpreset”);

saveas_promptset(“Save your EzQ® Preset File”);
if (saveasdialog_extended(filename, &path, &typeChosen, &typeList, 1))

Tested on:

  • Mac 1 (doesn’t work): OS X 10.6.8, Max 6.1.5, compiled with SDK 6.1.1, Xcode 3.2.6
  • Mac 2 (doesn’t work): OS X 10.8.5, Max 6.1.5, Max runtime 6.1.5, compiled with SDK 6.1.4, Xcode 5.0.2
  • Win (works): XP SP3, Max Runtime 6.1.5, compiled with SDK 6.1.1, Visual C++ 2010 Express

Does this feature just not work on Mac? Thanks!

Dec 10, 2013 at 6:10am

To confirm:

I cannot remember if it has worked when i did it ( ), but currently it doesn’t work anymore (OS X 10.6.8 / Max 5.1.9 / SDK 5.1.7).


You must be logged in to reply to this topic.