loop speed
-
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|
-
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|
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