Re: DirectX objects left over at program end

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On 17 May 2005 01:57:48 -0700, "rep_movsd" <rep.movsd@xxxxxxxxx>
wrote:

>Hi
>I am unable to make my program release all th dx objects, I always get
>2 objects left over.

> pQtVideoSrc->QueryInterface(IID_QtVideoSrc, (void**)&qtSrc);

I can't see where you release this interface.
qtSrc->Release()

>Also I find that many commercial dshow apps also assert for left over
>objects ( I have the debug DX runtime installed ).
>
>Is this a feature or what?

Bad code!

Jim
.



Relevant Pages

  • How to use "Step into"
    ... I have some code that needs debugging and the use of the "Step into" ... feature seems to be the way to debug it. ... Prev by Date: ...
    (microsoft.public.access.gettingstarted)
  • How do I use "debug" in UnixWare 7.1.1
    ... I would like to get familiar with "debug" feature in order to run debug ... and trace C programs. ... Prev by Date: ...
    (comp.unix.unixware.misc)
  • Re: PAPI in the ports
    ... any performance measuring does or must stress ... performance tests on a production server is not the very best idea. ... But to have a such feature on a production system is ... If I get a problem I can easily debug ...
    (freebsd-performance)
  • Re: VS 2005 : "Error when trying to run project"??
    ... The host process is enabled by default and it is a feature of visual studio ... Try to disable vs hosting process on project properties, Debug Tab... ... Another strange answer googling is Enable Terminal server services ?! ...
    (microsoft.public.dotnet.general)
  • Re: PP Background Pics and Images
    ... Thanks for info Jim... ... you should send feedback to Microsoft requesting this functionality. ... Use the Help menu and there's a feedback option for sending feature ... they, too, can send their feature requests to Microsoft. ...
    (microsoft.public.mac.office.powerpoint)