wxThreads causing debug break

Jürgen info at innova-studios.com
Tue Mar 11 02:58:54 PDT 2008


hi there,

for update and serial key checking i want to launch a thread in the
background that performes some things and then exits.
therefore i created a thread and the entry function simply looks like:

void *ThreadCheckUpdate::Entry()
{
	wxHTTP get;
}

when i'm now creating the thread i'm getting a DebugBreak() call on the
"wxHTTP get;" line.
I had a look at the sample "threads", but also using wxMutexGuiEnter()
before creating a wxHTTP object didnt work. Any ideas?

kind regards, juergen





More information about the wx-users mailing list