Jump to content

  • Log In with Google      Sign In   
  • Create Account


ReleaseCOM identifier not found


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 noatom   Members   -  Reputation: 767

Like
0Likes
Like

Posted 02 March 2013 - 02:00 PM

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?


Sponsor:

#2 SiCrane   Moderators   -  Reputation: 9382

Like
1Likes
Like

Posted 02 March 2013 - 02:23 PM

First off, when you get an error, post what the error is. Secondly, ReleaseCOM() isn't a standard DirectX or COM function. You're probably following a book that uses it as a helper function, but it's not necessary. Just use Release() on the pointers you want to release.

#3 noatom   Members   -  Reputation: 767

Like
0Likes
Like

Posted 02 March 2013 - 03:23 PM

you were right,it was a helper function.Thanks






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS