Yes ty, it helps a lot ... but the GDI handles a still increasing, but slower. So i have to find other code bugs
![Wink ;)](./images/smilies/icon_e_wink.gif)
I will report when I found them.
Regards ... Ricci
Moderator: Rathinagiri
Hello Grigory,IMAGELIST_DESTROY ( _HMG_SYSDATA [ 37 ] [y] ) in the h_controlmisc.prg and recompile HMG library by batch file hmg\source\makehmg.bat.
Now we only need a fix for the last error:rathinagiri wrote:Thanks Ricci.
Let Roberto reviews the code and accommodates the changes.
I was able to localize the error above but unable to fix it. A job for Grigory or Roberto this timeRicci wrote:When creating a sub-window with DEFINE WINDOW <WindowName> and closing it with <WindowName>.Release you loose 2 GDI handles every time.
Code: Select all
DEFINE WINDOW Form_2 ;
AT 100,100 WIDTH 200 HEIGHT 100
END WINDOW
ACTIVATE WINDOW Form_2
Code: Select all
DEFINE WINDOW Form_2 ;
AT 100,100 WIDTH 200 HEIGHT 100 MODAL
END WINDOW
ACTIVATE WINDOW Form_2
I'll do ASAP.rathinagiri wrote:Thanks Ricci.
Let Roberto reviews the code and accommodates the changes.