Skip to main content
gamedev.net
🔒 Locked

Deleting Objects

Started by Daishim 0 replies 200+ views
Original Post
Daishim
Daishim
I''m slight confused on which delete to use in particular situations. Whether the DeleteDC(), DeleteObject(), or ReleaseDC() should be used. I''ve seen all three of them used, but I''m not catching on to the purpose. Could anyone clear this up for me?

I know only that which I know, but I do not know what I know.
IndirectX
IndirectX
Generally, the docs for the functions that create objects specify what functions should be used to release the said objects.
---visit #directxdev on afternet <- not just for directx, despite the name

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.