|
Macintosh Error Messages |
|
List of: |
Discussion Topic |
|
Subjects: |
|
|
Contents: |
|
|
|
|
||||||||||||||||||||||||||||
|
New error messages can be added by hand on Macintosh platforms. No tools currently support this process. Follow these steps to add new error messages using a Macintosh platform: |
||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||
|
|
1. |
If this is a new module, create new error/<modname>.err and error/e<modname>.cxx files, using existing files as templates. Be sure to use a unique name for the message module declared at the end of the file. |
||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||
|
|
2. |
Edit the error/<modname>.err file, adding a #define for each message to be added. This is easiest if all new messages are added at the end of the file, using the next number in sequence. |
||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||
|
|
|
|
||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||
|
|
3. |
Edit the e<modname>.cxx file, adding an entry to the message_list for each message to be added. The ordering of the entries in the message_list must match the numbers in the error/<modname>.err file and the entry with two NULL values must be the last entry in the list. |
||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||
|
|
|
|
||||||||||||||||||||||||||
|
|
|
|||||||||||||||||||||||||||
|
|
4. |
Compile the error/e<modname>.cxx file. |
||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PDF/APPDEV/06ERR.PDF
HTM/DATA/ACIS/APPDEV/06ERR/0013.HTM