locked
Direct Play 8 Question RRS feed

  • Question

  •  

    how do you use the 5 direct play functions

     

    AddDatatoBuffer

    AddStringtoBuffer

    GetDatafromBuffer

    GetStringFromBuffer

    NewBuffer

     

    in VB Express

    Tuesday, October 16, 2007 12:25 AM

Answers

  • Hi,

     

    DirectPlay is a part of DirectX.

    DirectX 8.0 need to ne installed. As far as I know, there is no managed DirectX 8.0, so you can try COM Interop the DirectX 8 components in VB.NET program, and import the following namespaces:

    Imports Microsoft.DirectX
    Imports Microsoft.DirectX.DirectPlay

     

    Please refer to DirectX 8.0 SDK for the usage of those functions.

     

    DirectX 8.0 on MSDN

    DirectX Resource Center

     

     

    Please try the DirectX 9.0 in .NET developing.

    DirectX 9.0 brings the first release of the Managed API for developing DirectX-based programs and games.
    DirectX 9.0c Redistributable

    DirectX 9.0 SDK Update

     

     

    Best regards,

    Martin

    Friday, October 19, 2007 5:26 AM