Re: Poor Man's GDI Object Refcount

2001-01-14 Thread Eric Pouech
Uwe Bonnes wrote: typedef struct tagGDIOBJHDR { HANDLE16hNext; WORDwMagic; DWORD dwCount; +HDC refcount; } GDIOBJHDR; doh... wouldn't it be better if refcount were an int ? (Franois shall not like it when -DSTRICT is turned on ;-) A+ --

Re: Poor Man's GDI Object Refcount

2001-01-14 Thread Andreas Mohr
On Sun, Jan 14, 2001 at 06:45:55PM +0100, Uwe Bonnes wrote: Hallo, as reported yesterday, some application depended on DeleteObject failing as long as the Object is stillselected into some DC. Andi also noted the need for such a check some time ago. This patch adds an entry "refcount" in

Re: Poor Man's GDI Object Refcount

2001-01-14 Thread Huw D M Davies
On Sun, Jan 14, 2001 at 02:48:21PM -0600, Andreas Mohr wrote: On Sun, Jan 14, 2001 at 06:45:55PM +0100, Uwe Bonnes wrote: Hallo, as reported yesterday, some application depended on DeleteObject failing as long as the Object is stillselected into some DC. Andi also noted the need for