So,I'm trying to use ReleaseCOM in my code.I included the library folders and used these:
#pragma comment(lib,"d3d9.lib")
#pragma comment(lib,"d3dx9d.lib")
#pragma comment(lib,"dxguid.lib")
#pragma comment(lib,"DxErr.lib")
#pragma comment(lib,"dinput8.lib")
however,the same error appears,what could be wrong?