FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Graphics Memory Problems
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Graphics Memory Problems
Posted: Fri Dec 06, 2024 02:59 PM
I have a procedure where I display a colored pixel that flashes in position x,y. I need this to calibrate the lottery card. as you can see in this video

when the user moves the mouse over the get controls involved the lines are displayed or if the user selects a record in the xbrowse the pixel or the colored circle at the x,y positions is displayed

When instead the user moves the mouse over the folders or in the dialog I call the MyOverDlg(.f.) function to end the display of the graphics




The problem is that the pixel remains in memory as you can see from this image.



I discovered that the EXE is still in the computer's memory.







How can I solve it?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Graphics Memory Problems
Posted: Fri Dec 06, 2024 08:23 PM

Dear Silvio,

Can you share its source code to test it ? The app may not be closing properly.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Graphics Memory Problems
Posted: Mon Dec 09, 2024 08:52 AM
Antonio Linares wrote:Dear Silvio,

Can you share its source code to test it ? The app may not be closing properly.
I cannot share the code because I cannot create a Small test , I tried but it is not possible
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Graphics Memory Problems
Posted: Mon Dec 09, 2024 09:56 AM
as I wrote on mail perhaps I found the solution.

the problem in my opinion was that many timer sessions were created and then I couldn't remove them and the exe remained in the computer's memory because it was still working.

I checked the function where I create the timer and before to create I checked with
Code (fw): Select all Collapse
IF oTmr <> NIL
            oTmr:End()
         ENDIF

and it seems run ok now , then maybe other errors will come out...:)

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Graphics Memory Problems
Posted: Mon Dec 09, 2024 10:15 AM
very good! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion