Skip to main content
gamedev.net
๐Ÿ”’ Locked

can't release COM object!

Started by tototam May 19, 2004 at 8:37 AM 1 replies 550+ views
Original Post
tototam
tototam
i can''t release IDirect3DDevice8 object! it is no problem for the initialization ,i run my program properly, but when i close my program , it show me an error in a release line, i have checked it by debug, it points in the following line: if(g_d3ddevice!=NULL) g_d3ddevice->Release(); why i can''t release ? how can i fix this problem? tototam
tototam
Polymorphic OOP
Polymorphic OOP
You probably are either trying to release an uninitialized pointer, releasing the same pointer multiple times, or releasing the interface after the COM library is already shutdown in the device''s thread.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.