Request for a comment to a DrawText bug in Vista and Windows 7

Win32 Programming


  • 1. leak
    this is slightly offtopic. Is there someone who can give me some insight here? I have acrobat5.0 and I have a document, Using task manager I see 1 object leak everytime I print. It seems to leak one resion everytime I print to unidriver (one from microsoft) and to HP drivers. So I used fengyuan's GDIOBJ, which I use very much and I see that it always leaks "1 Region". Can some acrobat users point me to resolution to this problem? vipin
  • 2. Is there a tiff lib easy to use?
    is there a easy tiff lib to use? i just want to encode a bitmap to tiff,but the libtiff is not so easy to me. i want a function like this void EncodeTiffFile(CString strBitmapFile,CString TiffFile,UINT compressType) does any one can help me?
  • 3. HWND, HDC... thread affinity
    Hi all, Could someone provide an explanation or point me to an article explaining the reasons for thread affinity with GUI objects?
  • 4. ApplyEffect()
    I am using VS .NET 2003, and the latest Platform SDK (Oct 2003), and GDI+ stuff is working fine with the exception of a number of functions that are in the documentation, but not in any of the class definitions in the header file... Bitmap::ApplyEffect() for one. Can anyone tell me what is up here or what I am missing? Thanks, Jeff

Request for a comment to a DrawText bug in Vista and Windows 7

Postby Martin Richter [MVP] » Tue, 17 Feb 2009 19:53:31 GMT


I found a bug in Windows Vista and Windows 7 in the DrawText function 
using DT_CALCRECT. DrawText under Vista and Windows 7 is up to 50 times 
slower compared to XP.

You can find more informations about this problem im my blog here:
"Slow DrawText performance in Vista and Windows 7"

Also you find an explanations why I am using this way to get any further 

Thank you!

Martin Richter [MVP] WWJD    http://www.**--****.com/ 
"A well-written program is its own heaven; a poorly written
program is its own hell!" The Tao of Programming
FAQ:  http://www.**--****.com/  Samples:  http://www.**--****.com/ 

Return to Win32 Programming


Who is online

Users browsing this forum: No registered users and 22 guest