... CheckRes() WinExec("notepad checkres")Return nil Bug at: TRICHEDIT:REDEFINE(403)- You have an unreleased Font, defined in both new and redefine methods. Thank you.
... 14:16:00: C:\Users\James\Documents\Projects\CheckRes\TestCheckRes.exe -- FONT,-1056306525,MAIN(20) As you can see, the font is reported as being unreleased. I am using a fairly old copy of FWH (16.04) so you should run the test program above to make sure it also detects the unreleased font with ...
The way you fix it is to find all unreleased objects and end them. Use the method the Antonio provided a link to.
I don't know why it is only happening on Windows 7. Maybe those pc's have less memory, or there is a bug in Win 7 itself. Either way you still need to end all the resources.
... my exe hangs and stop working but the computer does not stop. I have test with GDIView and I have seen that only the Font is increasing. Check for unreleased fonts in your code. If you create a font then you are responsable to oFont:End() it
... >> b32.bc 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 -Tpe -s @b32.bc %bcdir%\bin\ilink32 -Gn -aa -Tpe -s @b32.bc
Hello Antonio, There is a Font unreleased at TRichEdit class: FONT,-1744171655,TRICHEDIT:REDEFINE(391)->MAIN(36) This is a working simple: #Include "FiveWin.ch"#include "richedit.ch"//----------------------------------------------------------------------------//Function ...