AfxBeginThread() with a function in the main class
C / C++ / MFC
23
Posts
5
Posters
0
Views
1
Watching
-
Johpoke wrote:
Maybe its like a gold-member only emotion.
Nope. I was so proud when I found it all by myself, since I know nothing about web programming :) ;P
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
:laugh:
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Ah yes now it compiles, thanks. But when i add a function to it (one that is connected to CThreadDemoDlg) i get the cant call a nonstatic member function.. error C2352: 'CThreadDemoDlg::SomeFunction' : illegal call of non-static member function see declaration of 'SomeFunction' So how should i go about calling the function? thanks again!
//Johannes
u don't understand the problem:(