Use DrawTextA(...)
Archived discussion
MFC CDC::DrawText() problem
Hi,
I have a GUI library that contains CDC::DrawText calls many times and, when I try to compile my application I have this message error:
error C2039: 'DrawText' : is not a member of 'CDC'
I read in an old message that I could avoid this error using DrawTextW instead of the CDC::DrawText but unfortunately (for me!) I can't modify the GUI source code.
Note: I have the same problem with
THIS definition
Is there anyone that can give me some suggestion?
Thank you in advance.
Author
Discussion
2 archived replies
Posts are displayed in their archived order.
Try to change the include order :
first the GUI classes
then the OpenCASCADE classes
( or inverted )
Commenter-2
http://www.exotk.org