Problem with DirectDraw/DirectInput/DirectSound

This is a discussion on Problem with DirectDraw/DirectInput/DirectSound within the Game Programming forums, part of the General Programming Boards category; Hello all, Do you have any idea why on the planet mars (just kidding) whenever I create a DirectX object, ...

  1. #1
    C maniac
    Join Date
    Aug 2004
    Location
    Cyberwarping to Middle Earth
    Posts
    154

    Unhappy Problem with DirectDraw/DirectInput/DirectSound

    Hello all,

    Do you have any idea why on the planet mars (just kidding) whenever I create a DirectX object, I have a memory leak, even after Release() and
    unacquire()?

    Thanks

  2. #2
    Registered User
    Join Date
    Mar 2004
    Posts
    180
    are you realeasing in the opposite order you created them?

    ie: If you created x , y , z ----Realease in the order z , y , x


    Does this help?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help understanding a problem
    By dnguyen1022 in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2009, 05:21 PM
  2. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  3. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 09:38 AM
  4. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 03:51 PM
  5. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 07:54 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21