Home » U++ Library support » TopWindow&PopUp, TrayIcon » Freezing bare application on Windows XP
Re: Freezing bare application on Windows XP [message #24099 is a reply to message #24097] |
Sat, 26 December 2009 21:40   |
 |
mirek
Messages: 14267 Registered: November 2005
|
Ultimate Member |
|
|
Well, first partial finding:
The cause of crashing for GetSysTime is really stupid - in single threaded mode, you cannot call any U++ routine in non-main thread and ELOG does exactly that.... (in OverWatchThread).
Note: Otherwise, OverWatchThread is carefully designed not to call anything that would have this problem - it only calls win32 API which is MT safe.
BTW, have you tried this app with MT flag (it would fix GetSysTime problem).
(I have reproduced GetSysTime problem, but nothing else so far).
If you are getting consistent crashes, maybe one thing to try is to replace Event with Semaphore (or StaticSemaphore)... (Just replace Set with Release....).
BTW, you have not posted details of your compiler / system yet...
(I am trying to reproduce the problem in WinXP with MSC9).
Mirek
[Updated on: Sat, 26 December 2009 21:42] Report message to a moderator
|
|
|
 |
|
Freezing bare application on Windows XP
By: qapko on Sat, 26 December 2009 10:05
|
 |
|
Re: Freezing bare application on Windows XP
By: mirek on Sat, 26 December 2009 14:46
|
 |
|
Re: Freezing bare application on Windows XP
By: qapko on Sat, 26 December 2009 19:08
|
 |
|
Re: Freezing bare application on Windows XP
By: mirek on Sat, 26 December 2009 20:51
|
 |
|
Re: Freezing bare application on Windows XP
By: qapko on Sat, 26 December 2009 21:15
|
 |
|
Re: Freezing bare application on Windows XP
By: mirek on Sat, 26 December 2009 21:40
|
 |
|
Re: Freezing bare application on Windows XP
By: mirek on Sat, 26 December 2009 21:53
|
 |
|
Re: Freezing bare application on Windows XP
By: qapko on Sat, 26 December 2009 22:09
|
 |
|
Re: Freezing bare application on Windows XP
By: qapko on Sat, 26 December 2009 22:58
|
 |
|
Re: Freezing bare application on Windows XP
By: mirek on Sun, 27 December 2009 00:27
|
 |
|
Re: Freezing bare application on Windows XP
By: mirek on Sun, 27 December 2009 00:30
|
 |
|
Re: Freezing bare application on Windows XP
By: qapko on Sun, 27 December 2009 08:48
|
 |
|
Re: Freezing bare application on Windows XP
By: mirek on Sun, 27 December 2009 19:49
|
 |
|
Re: Freezing bare application on Windows XP
By: qapko on Sun, 27 December 2009 21:31
|
 |
|
Re: Freezing bare application on Windows XP
By: mirek on Tue, 29 December 2009 14:14
|
 |
|
Re: Freezing bare application on Windows XP
By: qapko on Wed, 30 December 2009 08:50
|
Goto Forum:
Current Time: Sun Aug 24 05:48:30 CEST 2025
Total time taken to generate the page: 0.03186 seconds
|