Hello,
I need a timer to do some operations.
It initializes well, starts successfully, triggers the 'OnTimer' event. Here, I use Stop (to avoid it being triggered during its task), then I try to re-start. At this point the application crashes with illegal operation.
What is wrong?
I use Code::Blocks 802 or build 5074 on Windows XP, with VC++ 2008 Express Edition.
Thanks in advance.
wxTimer Start/Stop/Start sequence Topic is solved
-
- Knows some wx things
- Posts: 35
- Joined: Wed Sep 08, 2004 6:22 am
-
- Knows some wx things
- Posts: 35
- Joined: Wed Sep 08, 2004 6:22 am
If you can't post a snippet of how you create the wxTimer, what your even looks like and what you do to restart it, then we can't be of much help. And no this seems an error in usage as I have never experienced behviour like that.
- Jorgen
- Jorgen
Forensic Software Engineer
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
Netherlands Forensic Insitute
http://english.forensischinstituut.nl/
-------------------------------------
Jorg's WasteBucket
http://www.xs4all.nl/~jorgb/wb
-
- Knows some wx things
- Posts: 35
- Joined: Wed Sep 08, 2004 6:22 am