Mar 26 at 10:17 AM
Edited Mar 26 at 10:28 AM
- my code is such like this:
2.There are some Comptr objects in my class like these:
and I never set them nullptr in destructor.
Is that means we do not have to set nullptr or call it's release() for both Comptr<> object and WinrtType^ object ,and they will automatically release there resource when they are not referenced?
- Thanks for the link of sharpDX which provide a new way to wrap dx functions!But I don't know why there is not any source code to be downloaded for sharpdx, only Bin and Samples ^_^.