• Advertisement

Archived

This topic is now archived and is closed to further replies.

Forgoted to Release a Surface

This topic is 6686 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi.

When you forget to release a surface, it remains in (system)-memory after the program
ends. When you reboot your computer, the
memory is erased, so of cause everything is
OK now!

bye ...

------------------
Philippo
s_buschmann@gmx.de
http://privat.schlund.de/Gerio

Share this post


Link to post
Share on other sites
Advertisement
Unless your computer is really different than mine, forgetting to release a surface won't actually cause a noticeable effect (unless you forget to release something like 100 surfaces). And yes, it will be fixed after you reset

------------------
Visit the homepage of my (soon to be 'net multiplayer) Tank Game at http://members.home.net/chris-man

Share this post


Link to post
Share on other sites
I might be wrong, but doesn't DDHELP.EXE try and detect it when you forget to release things? Or does it do something completely different?

--TheGoop

Share this post


Link to post
Share on other sites
I've read that the DirectDraw-Surfaces are released automatically when the DirectDraw-Object is released...

Share this post


Link to post
Share on other sites
Hello!
I have created a DirectDraw program, but one time I have forgoted to Release a Surface. My computer worked very slow. I have rebooted my computer and it worked fine. Is anything OK now?

Share this post


Link to post
Share on other sites

  • Advertisement