Command Line Error Codes

The following codes are returned to the command line by the 3ds Max application.

Command Line Error Codes
Command Description
0 Process exited normally (EXIT_SUCCESS).
1 Process exited abnormally (EXIT_FAILURE).
-1 Unhandled exception
-2 Execution aborted by 3ds Max
-3 Process crashed while processing WM_CLOSE window message.
-4 Process crashed while processing WM_DESTROY window message.
-5 Process crashed after the main window was destroyed and the message loop was finished, but before the end of the main function.
-6 Out of memory.
-7 Invalid graphic device for the viewport.
-8 License Error
-9 Application could not be created.