Sometimes I should close many applications though my program is too small , and sometimes my programs issues can not create dialog box due to lack of memory ?
What should I do to avoid errors related to the memory ?
Sometimes I should close many applications though my program is too small , and sometimes my programs issues can not create dialog box due to lack of memory ?
What should I do to avoid errors related to the memory ?
Double check if all your resources (font, bitmaps, pens, icons, etc.) are correctly released.
EMG
I am using non-resources in my program . All bouttons,says,gets inside the source . I actually noticed that the program is Ok in PC and in another it failed to create source dialogs .
I noticed if I reduced the number of gets it works fine and successfully creates the dialog within the source .
What I meant was: if you have in your source code
DEFINE FONT oFont ...
check that there is
RELEASE FONT oFont
or
oFont:End()
too and similar.
EMG
Ehab,
Thats a FW for Clipper (16 bits) known issue. You have to increase the heapsize value in your Blinker LNK file. Increase it in 500 bytes steps until there is no error.