Re: LOCAL: Not enough space in GDI heap

2004-02-12 Thread Fabian Cenedese
>>I suspect your leak happens in the olefont implementation. You want >>to check that each hfont is destroyed when the IOleFont interface is >>released. > >When are the fonts released? If a control creates a font and uses it until >the dialog gets closed it doesn't help much. There will still be

Re: LOCAL: Not enough space in GDI heap

2004-02-10 Thread Fabian Cenedese
At 16:39 09.02.2004 +, Huw D M Davies wrote: >On Mon, Feb 09, 2004 at 05:03:40PM +0100, Fabian Cenedese wrote: >> >> I hacked some more and need an advice. I changed font.cpp: CreateFontIndirectW >> a bit. Instead of always allocating a new gdi object it has a list of already >> allocated font

Re: LOCAL: Not enough space in GDI heap

2004-02-09 Thread Fabian Cenedese
>> I hacked some more and need an advice. I changed font.cpp: CreateFontIndirectW >> a bit. Instead of always allocating a new gdi object it has a list of already >> allocated font objects and first tests if there was already a font allocated >> with the same logical properties (LOGFONTW). If so i

Re: LOCAL: Not enough space in GDI heap

2004-02-09 Thread Huw D M Davies
On Mon, Feb 09, 2004 at 05:03:40PM +0100, Fabian Cenedese wrote: > > I hacked some more and need an advice. I changed font.cpp: CreateFontIndirectW > a bit. Instead of always allocating a new gdi object it has a list of already > allocated font objects and first tests if there was already a font a

Re: LOCAL: Not enough space in GDI heap

2004-02-09 Thread Fabian Cenedese
>>>If you work with Win2K/XP, you can use NTobjects a free tool from >>>www.smidgeonsoft.com. It shows you for each process the number of each >>>type of GDI objects, compare that with the number that you observe in >>>your wine logs. >> >>That's a nice page, interesting looking tools. I tried it

Re: LOCAL: Not enough space in GDI heap

2004-02-09 Thread Fabian Cenedese
>>> Now is this an error in my application (VB6 with lots of controls and ocx's) >>> or one in wine? Does my app really create so many fonts or should each >>> only appear once in this list because they're all the same? They do have >>> different handles/addresses but that could be wine too. Of co

Re: LOCAL: Not enough space in GDI heap

2004-02-06 Thread Fabian Cenedese
At 17:42 05.02.2004 +0100, Rein Klazes wrote: >> Now is this an error in my application (VB6 with lots of controls and ocx's) >> or one in wine? Does my app really create so many fonts or should each >> only appear once in this list because they're all the same? They do have >> different handles/ad

Re: LOCAL: Not enough space in GDI heap

2004-02-05 Thread Rein Klazes
On Thu, 05 Feb 2004 16:26:36 +0100, you wrote: > Now is this an error in my application (VB6 with lots of controls and ocx's) > or one in wine? Does my app really create so many fonts or should each > only appear once in this list because they're all the same? They do have > different handles/addr

Re: LOCAL: Not enough space in GDI heap

2004-02-05 Thread Fabian Cenedese
>When trying to run a program I get these messages: > >err:local:LOCAL_GetBlock not enough space in GDI heap 10c7 for 116 bytes >trace:ole:OLEFontImpl_get_hFont Returning (nil) >wine: Unhandled exception (thread 0009), starting debugger... > >I had a look at this LOCAL_GetBlock function. There is

LOCAL: Not enough space in GDI heap

2004-02-05 Thread Fabian Cenedese
Hi When trying to run a program I get these messages: trace:font:GetTextMetricsW text metrics: Weight = 400 FirstChar = 32 AveCharWidth = 6 Italic = 0 LastChar = 65532MaxCharWidth = 35 UnderLined = 0 DefaultChar = 0 Overhang = 0 Str