Search found 58 matches: unreleased

Return to advanced search

Re: Application Slowdown

... are never released. Here is a test. Add checkres() to the end of your app. Open the app, then immediately close it. Ideally, there should be no unreleased resources in the file, but if there are, just ignore them for now. Keep a copy of the checkres() file. Now, run the app again and perform ...
by James Bott
Thu Jan 27, 2011 1:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Application Slowdown
Replies: 23
Views: 6462

Re: Memory leak with last xbrowse

... to the problem) ? Can you kindly take the additional trouble of testing this change with the older version of FWH and see if font resources remain unreleased?
by nageswaragunupudi
Tue Jan 04, 2011 2:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Memory leak with last xbrowse
Replies: 18
Views: 4013

Re: Possible Bitmap bug

... to 0 in my tests therefore bitmap is not destroyed. Will someone else run the test code shown in a message above and report back if you find an unreleased brush? Regards, James METHOD Destroy() CLASS TBitmap   if ::hBitmap != 0      PalBmpFree( ::hBitmap, ...
by James Bott
Thu Sep 09, 2010 7:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible Bitmap bug
Replies: 12
Views: 1660

Re: Possible Bitmap bug

Antonio,

I am still getting the same unreleased resource with FWH 10.8.

09/09/10 09:21:13: BRUSH,68162367,TBITMAP:SETCOLOR(2463)->TBITMAP:DEFINE(265)->MAIN(15)

I note that the BITMAP.PRGs for 10.7 and 10.8 are identical.

I am running Borland FWH, xHarbour and XP Pro.

James
by James Bott
Thu Sep 09, 2010 4:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible Bitmap bug
Replies: 12
Views: 1660

Possible Bitmap bug

... the bitmap object is not released. I don't know if all bitmap objects contain a brush but I tried both normal and alpha bitmaps and there was an unreleased brush in both of them. Below is my test code. This test was done with FWH 10.7. Regards, James // Test to show unreleased brush in bitmap ...
by James Bott
Wed Sep 08, 2010 5:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible Bitmap bug
Replies: 12
Views: 1660

Re: Reduced Memory after VTitle-Dialog-Switch ?

Uwe, Lets try to use a small example to check it. This example works fine and shows no unreleased GDI objects: #include "fivewin.ch"#include "ttitle.ch"Function main()    local oWnd, oTitle1, oFont1        SetResDebug()        DEFINE ...
by Antonio Linares
Fri Nov 06, 2009 12:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Reduced Memory after VTitle-Dialog-Switch ?
Replies: 15
Views: 5029

Re: Checking non released GDI objects

Thanks, Daniel, now if we can just the function I described, we will be able to troubleshoot these unreleased resources easily. Actually, after I thought about it more, it would be valuable to have access to the array containg this data. Then we could store the array before ...
by James Bott
Sat Jun 27, 2009 12:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Checking non released GDI objects
Replies: 13
Views: 5599

Re: Checking non released GDI objects

... Otto, I'm not sure what I am seeing. Is the second column the windows handle? What is the last column? Do we need to just count the listed items (unreleased items) before entering a routine and then again after? If so, then perhaps it would help if we had another function that would just return ...
by James Bott
Fri Jun 26, 2009 11:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Checking non released GDI objects
Replies: 13
Views: 5599

... care of those GDI objects even if we don't explicity release them, when the app finsihes. Even though they will be cleaned up when the app ends, unreleased GDI objects can become a problem if the app is run for a long time. So for such apps as order entry, reservations systems, etc. which may ...
by James Bott
Fri Aug 01, 2008 11:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Which objects must be released explicitly
Replies: 27
Views: 4398

Uwe, Important: Everytime that you call to <oControl>:GETDC(), after that, you have to call <oControl>:ReleaseDC(), or you keep an unreleased hDC, thus consuming GDI resources. I see from your code that you use a bitmap control on top of the window, to show a bitmap. You can directly ...
by Antonio Linares
Tue Apr 08, 2008 1:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to change Background of the Main-Wnd from Child ?
Replies: 3
Views: 743

A Better Resource Editor?

... application can be copied to, and loaded from any drive or folder. I have been in contact with the developer and I am currently using an as yet unreleased version which includes a couple of my suggestions. There are a few other changes in the works. I am told this is a 32-bit application, so ...
by Ken Wantz
Sun Nov 18, 2007 6:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Better Resource Editor?
Replies: 19
Views: 7028

Birol,

xharbour creates such log file when there is some unreleased memory in your application.

You should try it with the most recent xharbour build 0.99.61
by Antonio Linares
Mon Nov 13, 2006 9:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: fm.log
Replies: 2
Views: 1136

some more help required to create FWH + XHARBOUR DLLs

... IF EXIST %1.rc %bcdir%\bin\brc32 -r %1 IF EXIST %1.res ECHO %1.res >> b32.bc REM Uncomment this line and comment the next to review the unreleased memory blocks REM %bcdir%\bin\ilink32 -Gn -Tpe -s -v @b32.bc IF EXIST %1.res ECHO %1.res >> b32.bc %bcdir%\ilink32 -Tpd -aa -L%bcdir%\..\lib ...
by RAMESHBABU
Wed Dec 28, 2005 6:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How create DLL With XHARBOUR
Replies: 27
Views: 16254
Previous

Return to advanced search