CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 32

Threaded View

  1. #2
    Join Date
    Apr 1999
    Posts
    27,449

    Re: CreateCompatibleBitmap failed

    Quote Originally Posted by Ralf Schneider View Post
    Is the problem in my app?
    Does win XP grabs memory and do not release it?
    Is it really the video memory?
    Can I check the free video memory?
    Do any of your other applications show a problem? I bet they don't, so the problem is with your application.

    Also, posting those 3 lines of code tells us absolutely nothing except the parameters you're using to call the function. How would those 3 lines look if your application was working correctly? There would be no difference.

    Unless we have your entire application, run it, and see the behaviour, then no one will be able to tell you exactly what you're doing wrong. More then likely you are allocating resources and never releasing them.

    Regards,

    Paul McKenzie
    Last edited by Paul McKenzie; June 13th, 2012 at 03:44 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured