Click here to Skip to main content
15,887,313 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Basic doubt with Class template Pin
Richard MacCutchan7-Jul-11 22:54
mveRichard MacCutchan7-Jul-11 22:54 
GeneralRe: Basic doubt with Class template Pin
hrishi3217-Jul-11 23:18
hrishi3217-Jul-11 23:18 
GeneralRe: Basic doubt with Class template Pin
Richard MacCutchan8-Jul-11 0:31
mveRichard MacCutchan8-Jul-11 0:31 
AnswerRe: Basic doubt with Class template Pin
Orjan Westin5-Aug-11 8:49
professionalOrjan Westin5-Aug-11 8:49 
AnswerRe: Basic doubt with Class template Pin
Paul M Watt10-Jul-11 16:09
mentorPaul M Watt10-Jul-11 16:09 
GeneralRe: Basic doubt with Class template Pin
hrishi32110-Jul-11 16:59
hrishi32110-Jul-11 16:59 
AnswerRe: Basic doubt with Class template Pin
Bram van Kampen19-Aug-11 14:54
Bram van Kampen19-Aug-11 14:54 
Questionbackgroud worker thread crashes but fine when foreground Pin
VeganFanatic26-Jun-11 4:44
VeganFanatic26-Jun-11 4:44 
I have this benchmark program that started off as a console program and I am now well into making work with a window instead. It's all Win32 for the most part with a smattering of C++ STL for some containers.

I launch the background via a keyboard command ctrl-r
case (0x52): // R key
    if(GetKeyState(VK_LCONTROL) || GetKeyState(VK_RCONTROL)) {
        // crtl-r
        // showtime(); //?
        _beginthread(showtime, NULL, NULL);
    }
    break;


So what am I doing wrong, the background thread runs for while but crashes, used to work fine.
http://www.contract-developer.tk

AnswerRe: backgroud worker thread crashes but fine when foreground Pin
Richard MacCutchan26-Jun-11 5:18
mveRichard MacCutchan26-Jun-11 5:18 
GeneralRe: backgroud worker thread crashes but fine when foreground Pin
VeganFanatic26-Jun-11 5:19
VeganFanatic26-Jun-11 5:19 
GeneralRe: backgroud worker thread crashes but fine when foreground Pin
Richard MacCutchan26-Jun-11 5:44
mveRichard MacCutchan26-Jun-11 5:44 
GeneralRe: backgroud worker thread crashes but fine when foreground Pin
VeganFanatic26-Jun-11 5:46
VeganFanatic26-Jun-11 5:46 
GeneralRe: backgroud worker thread crashes but fine when foreground Pin
Richard MacCutchan26-Jun-11 5:57
mveRichard MacCutchan26-Jun-11 5:57 
GeneralRe: backgroud worker thread crashes but fine when foreground Pin
VeganFanatic26-Jun-11 5:58
VeganFanatic26-Jun-11 5:58 
GeneralRe: backgroud worker thread crashes but fine when foreground Pin
Richard MacCutchan26-Jun-11 6:06
mveRichard MacCutchan26-Jun-11 6:06 
GeneralRe: backgroud worker thread crashes but fine when foreground Pin
VeganFanatic26-Jun-11 6:08
VeganFanatic26-Jun-11 6:08 
AnswerRe: backgroud worker thread crashes but fine when foreground Pin
Albert Holguin5-Jul-11 9:52
professionalAlbert Holguin5-Jul-11 9:52 
AnswerRe: backgroud worker thread crashes but fine when foreground Pin
Paul M Watt10-Jul-11 16:24
mentorPaul M Watt10-Jul-11 16:24 
QuestionMigration from MFC to STL Pin
hrishi32122-Jun-11 20:28
hrishi32122-Jun-11 20:28 
AnswerRe: Migration from MFC to STL Pin
Alain Rist22-Jun-11 22:44
Alain Rist22-Jun-11 22:44 
GeneralRe: Migration from MFC to STL Pin
hrishi32126-Jun-11 18:28
hrishi32126-Jun-11 18:28 
GeneralRe: Migration from MFC to STL Pin
Alain Rist26-Jun-11 21:18
Alain Rist26-Jun-11 21:18 
AnswerRe: Migration from MFC to STL Pin
Albert Holguin23-Jun-11 8:44
professionalAlbert Holguin23-Jun-11 8:44 
GeneralRe: Migration from MFC to STL Pin
hrishi32126-Jun-11 18:30
hrishi32126-Jun-11 18:30 
AnswerRe: Migration from MFC to STL Pin
Bram van Kampen19-Aug-11 15:00
Bram van Kampen19-Aug-11 15:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.