Probleme avec les threads
 
bon voila je débute avec le threading mais il faut un debut a tous alors voici mon probleme quand je veut creer une thread  
je fais ceci
 
DWORD IDThread1;
 
CreateThread(NULL,0,&CMy2ThreadsDlg::Thread1,NULL,0,&IDThread1);
 
 
 
 
et le non de la procedure
 
est :
 
void CMy2ThreadsDlg::Thread1()
 
 
le compilo me revoie la chos suivante:
 
 
2ThreadsDlg.cpp(235) : error C2664: 'CreateThread' : cannot convert parameter 3 from 'void (void)' to 'unsigned long (__stdcall *)(void *)'
        None of the functions with this name in scope match the target type
Error executing cl.exe.
 
que puis je faire ?
Merci de vos reponse !