Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. loop speed

loop speed

Scheduled Pinned Locked Moved C / C++ / MFC
questionperformancetutorial
23 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L locoone

    im a noob that is russian to me :(

    D Offline
    D Offline
    David Crow
    wrote on last edited by
    #21

    See here and here for thread information.


    "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

    L 1 Reply Last reply
    0
    • D David Crow

      See here and here for thread information.


      "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

      L Offline
      L Offline
      locoone
      wrote on last edited by
      #22

      i narrowed it down i think. if i leave DWORD id; m_bWorking = TRUE; m_hThread = CreateThread(NULL,0,Thread,this,CREATE_SUSPENDED,&id); SetThreadPriority(m_hThread,THREAD_PRIORITY_LOWEST); ResumeThread(m_hThread); like it is it errors if i //ResumeThread(m_hThread); no error but the program dont run either so im stuck again. error: debug assertion failed file: wincore.cpp line: 890 X| X| X| X|

      D 1 Reply Last reply
      0
      • L locoone

        i narrowed it down i think. if i leave DWORD id; m_bWorking = TRUE; m_hThread = CreateThread(NULL,0,Thread,this,CREATE_SUSPENDED,&id); SetThreadPriority(m_hThread,THREAD_PRIORITY_LOWEST); ResumeThread(m_hThread); like it is it errors if i //ResumeThread(m_hThread); no error but the program dont run either so im stuck again. error: debug assertion failed file: wincore.cpp line: 890 X| X| X| X|

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #23

        locoone wrote: m_hThread = CreateThread(NULL,0,Thread,this,CREATE_SUSPENDED,&id); See here.


        "Ideas are a dime a dozen. People who put them into action are priceless." - Unknown

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups