Re: [Dev-C++] help!!! it's not a virus!!!
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ewald H. <in...@ho...> - 2004-05-06 17:34:59
|
Hi.
On line 53 of your winmain.cpp file you have the following code:
while (GetMessage(&clockMsg, clockWin, 0, 0) !=3D 0)
changing it to
while (GetMessage(&clockMsg, 0, 0, 0) !=3D 0)
has resolved the problem on my computer. Even after running clock.exe =
20x it doesn't show up in my taskmanager as a runaway application.
As for the second part of your question, I have never had the same =
problem, so I can't really answer it well. Processing WM_CLOSE does not =
seem to be important in most tutorials or courses, as they seldom hit =
the program size where you'd want to take special action in the event =
that someone closes a window.
I hope you get your app running.
Regards
Ewald Horn
Proprietor/Eienaar : Horn Labs
Cell/Sel : 083 519 1615
Website : http://www.hornlabs.co.za
Email/E-pos : in...@ho...
|