Subj : Re: Problem extending QThread To : comp.programming.threads From : AlterX Date : Sat Sep 10 2005 03:18 pm David Schwartz wrote: [cut] >> i have several errors around '{'. > > Could you tell us at least one of them? Ok, sorry...this is all errors list: TThread.h:19: error: syntax error before `{' token TThread.h:22: error: virtual outside class declaration TThread.h:24: error: syntax error before `private' TThread.h:28: error: syntax error before `}' token and this is real code i want to compile: #include typedef bool (*smsthread)(void *array, unsigned short num_thread); typedef void (*updater)(void); class TSMSThread : public QThread { public: ... private: ... }; Hi .