IDirectPlay8Peer::Initialize problem
Hi All,
I''m trying to convert the tutorial in MSDN into object oriented shape. I''ve created a class NetConnect, which is responsible for the communication b/w the peers.
The problem is, when I call the IDirectPlay8Peer::Initialize method in my class member function, it gives the following error.
error C2664: ''Initialize'' : cannot convert parameter 2 from ''long (void *,unsigned long,void *)'' to ''long (__stdcall *const )(void *,unsigned long,void *)''
but it works fine, in the tutorial. Any ideas, where is the problem, or what is the step I''m doing not right.
Anyhelp in this matter will be higly appriciated & thanx in advance.
Regards,
Ejaz.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement