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?
Graphics Memory Problems
- Silvio.Falconi
- Posts: 7104
- Joined: Thu Oct 18, 2012 7:17 pm
Graphics Memory Problems
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
I use : FiveWin for Harbour November 2023 - January 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
- Antonio Linares
- Site Admin
- Posts: 42273
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Graphics Memory Problems
Dear Silvio,
Can you share its source code to test it ? The app may not be closing properly.
Can you share its source code to test it ? The app may not be closing properly.
- Silvio.Falconi
- Posts: 7104
- Joined: Thu Oct 18, 2012 7:17 pm
Re: Graphics Memory Problems
I cannot share the code because I cannot create a Small test , I tried but it is not possibleAntonio Linares wrote:Dear Silvio,
Can you share its source code to test it ? The app may not be closing properly.
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
I use : FiveWin for Harbour November 2023 - January 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
- Silvio.Falconi
- Posts: 7104
- Joined: Thu Oct 18, 2012 7:17 pm
Re: Graphics Memory Problems
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
and it seems run ok now , then maybe other errors will come out...
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: Select all | Expand
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 November 2023 - January 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
I use : FiveWin for Harbour November 2023 - January 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
- Antonio Linares
- Site Admin
- Posts: 42273
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: