[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] Translation Status report for r2586

From: Will Dean <svn_at_indcomp.co.uk>
Date: 2005-01-31 10:32:01 CET

At 10:14 31/01/2005 +0100, you wrote:

>We create there a memory device context for later saving to disk. And
>yes, I received already several crash reports which indicate that
>creating that dc fails for some unknown reason.

I've just had a look at this, and the message is being used for two
different things:

1. When creating the compatible DC
2. When creating the compatible Bitmap (so the error message is not really
right at that point)

I also suspect that it might be a bug to create the CompatibleBitmap by
passing it the memory DC handle - this creates a bitmap which is compatible
with the 1x1 mono bitmap which the memory DC has by default, not the screen
bitmap.

IME, when people pass a 'compatible' memory DC to CreateCompatibleBitmap,
they are almost never intending to!

Will

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Jan 31 10:32:46 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.