Page 16 of 16
Re: HMG 3.1.1
Posted: Thu Apr 04, 2013 4:30 am
by srvet_claudio
gfilatov wrote:
There is a GDI bitmap resources leak in the current GdiPlus usage.
We have 1(one) unreleased bitmap resource at the
each step of iteration (tested via
GDIView utility from
http://www.nirsoft.net/)
Hi Grigory.
Yes, you are right.
When loading PNG images increases the handles of Bitmap (only the PNG images are loaded with GDI+).
Apparently the problem is in the line (source/c_image.c):
Code: Select all
GdipCreateHBITMAPFromBitmap (pGpBitmap, &hBitmap, BkColor);
In this line is where the handles are duplicates.
I will investigate the problem and see how I can solve.
Any help will be very welcome.
Best Regards,
Claudio.
Re: HMG 3.1.1
Posted: Sun Apr 07, 2013 9:19 pm
by meneale
Hey HMG, i would know if someone solved the problem with Unicode and RTF control
I tried the HMG 3.1.1 patches, some code editing and the HMG 3.1.2 version, but wasn't fixed
Re: HMG 3.1.1
Posted: Tue Apr 16, 2013 11:22 pm
by Carlos Britos
HI
In the hmg 311 patch 2
the HMG_PadL() and HMG_PadR() seems to be inverted the behaviour
Code: Select all
FUNCTION HMG_PADL (xValue, nLen, cFillChar)
...
cPadText := cText + REPLICATE (cFillChar, nSize)
...
RETURN cPadText
If I'm not wrong should be
cPadText := REPLICATE (cFillChar, nSize) + cText
and the same for
FUNCTION HMG_PADR (xValue, nLen, cFillChar)
...
cPadText := REPLICATE (cFillChar, nSize) + cText
...
RETURN cPadText
cPadText := cText + REPLICATE (cFillChar, nSize)
Re: HMG 3.1.1
Posted: Wed Apr 17, 2013 4:17 am
by srvet_claudio
Carlos Britos wrote:In the hmg 311 patch 2
the HMG_PadL() and HMG_PadR() seems to be inverted the behaviour
Yes you are right
, thank Carlos.
Best regards,
Claudio.