Difference between revisions of "Custiomize Error Messages/System generated Logs"

From SDU
Jump to: navigation, search
(New page: If you were wondering how to change the error messages or system generated messages, You need to read the instructions below : pdm.mc is the file that stores all AHD error messages and Sy...)
 
(No difference)

Latest revision as of 06:28, 4 June 2010

If you were wondering how to change the error messages or system generated messages, You need to read the instructions below :

pdm.mc is the file that stores all AHD error messages and System generated messages (like the ones you see in activity logs) and this file is used to build pdm.dll. The idea is to edit teh pdm.mc and then compile this file so that pdm.dll is updated.

1. Edit pdm.mc ($NXROOT/bin) using a UNICODE editor (You may download one from http://www.unipad.org/download). It will open just like a text file. 2. Make changes and Save it. 3. Run makei18ndll.bat (($NXROOT/Samples) to build the pdm.dll file. (It also creates pdm.def and pdm.lib files) 4. Stop the services 5. Replace pdm.dll ($NXROOT/bin) with the new one. 6. restart services.


Note :

1. Take a backup of pdm.mc and pdm.dll fiels 2. makei18ndll.bat will only run if a Microsoft C++ compiler is installed. REMEMBER : Microsoft Visual C++ 2008 does not contain mc.exe and will not work. You wil need some other C++ compiler.