Jim Albright
23-Mar-2009, 11:53 AM
Since I already use CharTranslate.pkg I get a definition conflict with GDI.h in the new Graphics Library.
The following lines are in both the pkg and the .h
#REPLACE CP_ACP 0 // default to ANSI code page
#REPLACE CP_OEMCP 1 // default to OEM code page
#REPLACE CP_MACCP 2 // default to MAC code page
#REPLACE CP_THREAD_ACP 3 // current thread's ANSI code page
#REPLACE CP_SYMBOL 42 // SYMBOL translations
#REPLACE CP_UTF7 65000 // UTF-7 translation
#REPLACE CP_UTF8 65001 // UTF-8 translation
As a work around I added this line to the top of the definitions in GDI.h
use CharTranslate.pkg //added jra 3-23-2009
And commented out all the above replacements.
Jim
The following lines are in both the pkg and the .h
#REPLACE CP_ACP 0 // default to ANSI code page
#REPLACE CP_OEMCP 1 // default to OEM code page
#REPLACE CP_MACCP 2 // default to MAC code page
#REPLACE CP_THREAD_ACP 3 // current thread's ANSI code page
#REPLACE CP_SYMBOL 42 // SYMBOL translations
#REPLACE CP_UTF7 65000 // UTF-7 translation
#REPLACE CP_UTF8 65001 // UTF-8 translation
As a work around I added this line to the top of the definitions in GDI.h
use CharTranslate.pkg //added jra 3-23-2009
And commented out all the above replacements.
Jim