Jump to content

  • Log In with Google      Sign In   
  • Create Account

14 years ago on June 15th Gamedev.net was first launched! We want to thank all of you for being part of our community and hope the best years are ahead of us. Happy birthday Gamedev.net!

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: 469

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?

Like a sir

Sponsor:

#2 SiCrane   Moderators   -  Reputation: 6781

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: 469

Like
0Likes
Like

Posted 02 March 2013 - 03:23 PM

you were right,it was a helper function.Thanks


Like a sir




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