Platform SDK: DirectX |
This topic pertains only to application development in C++. See DirectPlay Visual Basic Samples.
The DPLaunch sample is a stand-alone application that demonstrates how a DirectPlay application can be launched from an external source using the IDirectPlayLobby3 interface. It can also be be used to test the lobby support in your application.
Source: (SDK root)\Samples\Multimedia\DPlay\Src\DPLaunch
Executable: (SDK root)\Samples\Multimedia\DPlay\Bin\DPLaunch.exe
When you run it, DPLaunch presents you with a pull-down list of all registered DirectPlay applications on your computer. Once you choose which application to start, you must also select the connection method, and specify your player name. In addition, you need to pick a session name, and specify whether you are joining an existing session or creating a new one.