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

Thread: Memory DC(Threading)

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Posts
    93

    Memory DC(Threading)

    my program has a total of 13 memory dc.
    6 static memory dc and 7 animation memory dc.
    7 of them each have their own thread, so has 7 threads.

    how many memory dc can a single Visual C++ Program handle ??

  2. #2
    Join Date
    May 2008
    Posts
    300

    Re: Memory DC(Threading)

    I think, and what is practical, it only depends on how much memory left.
    Nope

  3. #3
    Join Date
    Apr 2008
    Posts
    93

    Re: Memory DC(Threading)

    Quote Originally Posted by DreamShore
    I think, and what is practical, it only depends on how much memory left.
    how do i check how many memory i left?

  4. #4
    Join Date
    May 2008
    Posts
    300

    Re: Memory DC(Threading)

    I mean you don't have to worry about it @_@...
    Nope

  5. #5
    Join Date
    Apr 2008
    Posts
    93

    Re: Memory DC(Threading)

    Quote Originally Posted by DreamShore
    I mean you don't have to worry about it @_@...
    ok but is there any way to see how many memory left?

  6. #6
    Join Date
    May 2008
    Posts
    300

    Re: Memory DC(Threading)

    Quote Originally Posted by ashwarrior
    ok but is there any way to see how many memory left?
    GlobalMemoryStatusEx can do this, but not exactly what you need here.

    I find that I really don't know if there is a direct way to find out how much vitrual space is free.
    Nope

  7. #7
    Join Date
    Feb 2002
    Posts
    4,640

    Re: Memory DC(Threading)

    Quote Originally Posted by DreamShore
    I think, and what is practical, it only depends on how much memory left.
    Not true. Device Contexts are system resources, and not dependent on how much memory is available in the system.

    Viggy

  8. #8
    Join Date
    May 2008
    Posts
    300

    Re: Memory DC(Threading)

    Just what's practical, even if they have something to do with something other than memory, memory will run out first.
    Nope

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)