Basic HTML version of Foils prepared July 5 98

Foil 160 PPT Slide

From FMS: Forces Modeling and Simulation Handout JSU HPC Summer Institute for Undergraduates, Jackson MS -- June 15 1998. by Wojtek Furmanski, Subhash Nair, Tom Pulikal


// Helper function - Creates the DirectPlay object
static HRESULT CreateDirectPlayInterface()
{
HRESULT hr;
// Retrieve a DirectPlay 1.0 interface.
hr = DirectPlayCreate(lpServiceProviderGuid, &lpDirectPlay1, NULL);
if FAILED(hr)
{
if (lpDirectPlay1)
lpDirectPlay1->Release();
::MessageBox(NULL,"DirectPlayCreate Failed", "HelloWorld", MB_OK);
}
delete lpServiceProviderGuid;
return (hr);
}
CreateDirectPlayInterface():
Actually creates the DirectPlay object
Once we create the DirectPlay
object, we no longer need the
service providers GUID



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Nov 28 1998