@Josh
Jermeys code wont work as the routine I posted is linked in by MAX as the DLL entry point and you cant override unless you change options on LD. Also if you do what he did the BMAX runtime wont be intialized correctly.
try OnEnd,
if that doesnt work I can help guide you through a custom APPStub similar to what happens Brucy did for WxWidgets.
Doug
Jermeys code wont work as the routine I posted is linked in by MAX as the DLL entry point and you cant override unless you change options on LD. Also if you do what he did the BMAX runtime wont be intialized correctly.
try OnEnd,
if that doesnt work I can help guide you through a custom APPStub similar to what happens Brucy did for WxWidgets.
Doug