[Winpcap-users] Re: thread error
joe kibz
chikabanga2005 at yahoo.com
Tue May 16 09:33:06 GMT 2006
The Code:
The application : dialog based MFC
The decalaration:
DWORD WINAPI do_pktcapt_loop(LPVOID lp){ //is the thread method}
The Problem:
handleThread = CreateThread(NULL, 0 , do_pktcapt_loop, &arg, 0, &dw);
i'm getting an error :
error C2664: 'CreateThread' : cannot convert parameter 3 from 'unsigned long (void *)' to 'unsigned long (__stdcall *)(void *)'
What's the problem with my declaration ???
---------------------------------
How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20060516/fdbf6610/attachment.htm
More information about the Winpcap-users
mailing list