Quote: "Maybe you should look up what the IUnknown interface actually is, and what it's used for. It has nothing to do with DirectX specifically.
as for releasing objects.. guess what
Direct3D->Release() does excactly what, delete Direct3D does."
a) I never said IUnknown was specifically to do with DX - but I think
you need to look up what IUnkown is - it's the ruddy COM base object:
http://msdn2.microsoft.com/en-us/library/ms680509.aspx
As for Release(), no, it definitely is not exactly the same as delete; it's a reference counting scheme, partnered with AddRef(); doing delete directly kind of defeats the object of it being there - although I agree that when the ref count drops to zero, it does effectively do the same as delete, but that wasn't my point; my point was that this is part of the COM system, so unless you're using some crazy mechanism without references and Release() statements, you're using DX via COM... and last time I looked, that is the only (correct) method of accessing it.
I didn't explicitly mean that there is no other way of accessing DX, but unless you're using the crazy method mentioned above, you
will of used COM to access DX: and Release() is evidence of that.
QED
09-f9-11-02-9d-74-e3-5b-d8-41-56-c5-63-56-88-c0