Click here to Skip to main content
15,921,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Need help with Worker Tread Code Pin
David Crow19-Jul-05 5:17
David Crow19-Jul-05 5:17 
GeneralRe: Need help with Worker Thread Code Pin
khan++19-Jul-05 20:49
khan++19-Jul-05 20:49 
QuestionWhy does creating a static window from a console app cause havok? Pin
IGx8919-Jul-05 5:10
IGx8919-Jul-05 5:10 
AnswerRe: Why does creating a static window from a console app cause havok? Pin
David Crow19-Jul-05 5:16
David Crow19-Jul-05 5:16 
GeneralRe: Why does creating a static window from a console app cause havok? Pin
IGx8919-Jul-05 5:50
IGx8919-Jul-05 5:50 
GeneralRe: Why does creating a static window from a console app cause havok? Pin
David Crow19-Jul-05 6:10
David Crow19-Jul-05 6:10 
GeneralRe: Why does creating a static window from a console app cause havok? Pin
IGx8919-Jul-05 7:03
IGx8919-Jul-05 7:03 
GeneralRe: Why does creating a static window from a console app cause havok? Pin
David Crow19-Jul-05 7:32
David Crow19-Jul-05 7:32 
IGx89 wrote:
Because using something other than STATIC doesn't appear to cause problems...

Have you entertained the thought that "doesn't appear" might be the key phrase here? Just because you do not see a problem does not mean a problem ceases to exist.

IGx89 wrote:
I like to know the causes of problems, not just the solutions.

Unless you have not shown all of the code, you're trying to solve something that is the product of a bad design. Why are you trying, or even thinking that it's possible, to create a static window from within a console application?

Much the same result can be achieved by trying to use getch() or printf() in a GUI application. Yes it might compile/link fine, but a "crash" of some sort is emminent.


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


GeneralRe: Why does creating a static window from a console app cause havok? Pin
Trollslayer19-Jul-05 6:11
mentorTrollslayer19-Jul-05 6:11 
GeneralRe: Why does creating a static window from a console app cause havok? Pin
IGx8919-Jul-05 7:05
IGx8919-Jul-05 7:05 
GeneralRe: Why does creating a static window from a console app cause havok? Pin
Trollslayer19-Jul-05 7:35
mentorTrollslayer19-Jul-05 7:35 
GeneralRe: Why does creating a static window from a console app cause havok? Pin
David Crow19-Jul-05 7:49
David Crow19-Jul-05 7:49 
GeneralRe: Why does creating a static window from a console app cause havok? Pin
James Brown19-Jul-05 7:56
James Brown19-Jul-05 7:56 
GeneralRe: Why does creating a static window from a console app cause havok? Pin
IGx8919-Jul-05 9:34
IGx8919-Jul-05 9:34 
Generalfread crash Pin
sfeldi19-Jul-05 4:40
sfeldi19-Jul-05 4:40 
GeneralRe: fread crash Pin
David Crow19-Jul-05 5:28
David Crow19-Jul-05 5:28 
GeneralRe: fread crash Pin
Chris Losinger19-Jul-05 6:48
professionalChris Losinger19-Jul-05 6:48 
GeneralRe: fread crash Pin
David Crow19-Jul-05 7:17
David Crow19-Jul-05 7:17 
GeneralRe: fread crash Pin
Chris Losinger19-Jul-05 7:30
professionalChris Losinger19-Jul-05 7:30 
GeneralRe: fread crash Pin
David Crow19-Jul-05 7:40
David Crow19-Jul-05 7:40 
GeneralRe: fread crash Pin
Chris Losinger19-Jul-05 8:03
professionalChris Losinger19-Jul-05 8:03 
GeneralRe: fread crash Pin
David Crow19-Jul-05 8:52
David Crow19-Jul-05 8:52 
GeneralRe: fread crash Pin
Chris Losinger19-Jul-05 9:27
professionalChris Losinger19-Jul-05 9:27 
GeneralRe: fread crash Pin
sfeldi19-Jul-05 20:39
sfeldi19-Jul-05 20:39 
GeneralRe: fread crash Pin
sfeldi19-Jul-05 21:09
sfeldi19-Jul-05 21:09 

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.