![]() |
【转帖】unicode Problems
unicode problems
unicode problems hi, the client app that i'm building the dwgdirect libraries into has to be built using single-byte non-unicode characters for historical reasons. this has not caused a problem with most of the coding i've been doing, but one problem remains outstanding - my viewer class has to use the odgicontextfordbdatabase class as one of its base classes, and this fails to link correctly when i have the character set setting in projecty pages set to 'not set'. the routines textextentsbox(), and drawtext() require to be called with unicode strings it seems. is there anyway round this? i managed to resolve this by setting wchar_t as not a built-in character type in msvc. that sorted it out, and i now (at last!) have my text showing! |
| 所有的时间均为北京时间。 现在的时间是 03:22 AM. |