I’m having a problem very similar to the one discussed in this thread: http://cycling74.com/forums/topic/alternative-to-saveasdialog_extendedfilename-path-outtype-filetype-1/
The first time I send a ‘write’ message, the dialog opens normally. The second time I send a write message, Max just quits somewhere inside of saveasdialog_extended (note: doesn’t crash, exits normally).
I’ve tried replacing defer with defer_low, which solved the problem in the thread referenced above, but this has no effect for me.
Has no one else had this problem?
I’m using OS X 10.7.5, Max 6.1.2, MaxSDK-6.1.1. Code is copied directly from page 62 of MaxAPI-6.1.1.pdf.