Jump to content

View more

Image of the Day

WIP title screen for #DeathOfAPartisan #screenshotsaturday #gamedev https://t.co/qJNhfZCvd4
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

ReleaseCOM identifier not found

4: Adsense

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   

925
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?


#2 SiCrane   Moderators   

11765
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   

925
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.