2010/7/26 Rico Schüller kgbricola@web.de:
IUnknown_Release((IUnknown *)object);
Since you'll probably resend this anyway based on Matteo's comment, I think just HeapFree() should do just as well. Also, I don't have a recent enough DX SDK to check at the moment, but if d3dcommon.h is generated by IDL, it will mostly likely have proper COM macros for ID3D10Blob as well.
Am 27.07.2010 00:55, schrieb Henri Verbeet:
2010/7/26 Rico Schüllerkgbricola@web.de:
IUnknown_Release((IUnknown *)object);
Since you'll probably resend this anyway based on Matteo's comment, I think just HeapFree() should do just as well. Also, I don't have a recent enough DX SDK to check at the moment, but if d3dcommon.h is generated by IDL, it will mostly likely have proper COM macros for ID3D10Blob as well.
Yeah, I'll resend the patches after Matteo's patch is in. I'll check the suggestions.