Advertisement

Directplay - IDirectPlay8Peer::EnumHosts() methods fails

Started by May 31, 2003 06:34 AM
0 comments, last by Ejaz 21 years, 8 months ago
Hi All, I''m trying to create a peer-peer application. The problem is, when I set .dwMaxPlayers to zero, then the application works well, but when I set to anything else then zero, like 3 or any other no., IDirectPlay8Peer::EnumHosts(...) function fails & says, "One or more of the parameters passed to the method are invalid". I''ve searched alot, but didn''t find any help on that. Plz tell me, if anybody knowns anything about that. Any help in this matter will be highly appriciated & thanx in advance. Regards, Ejaz.
The only valid members of the DPN_APPLICATION_DESC structure that are valid when calling IDirectPlay8Peer::EnumHosts() are ''.dwSize'' and ''.guidApplication''. All others should be set to 0. It is stated correctly in the DX 9.0a docs, but not in the DX 8.1 docs for some obscure reason.

-cb

This topic is closed to new replies.

Advertisement