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


1 // Helper function - Creates the DirectPlay object
2 static HRESULT CreateDirectPlayInterface()
3 {
4 HRESULT hr;
5 // Retrieve a DirectPlay 1.0 interface.
6 hr = DirectPlayCreate(lpServiceProviderGuid, &lpDirectPlay1, NULL);
7 if FAILED(hr)
8 {
9 if (lpDirectPlay1)
10 lpDirectPlay1->Release();
11 ::MessageBox(NULL,"DirectPlayCreate Failed", "HelloWorld", MB_OK);
12 }
13 delete lpServiceProviderGuid;
14 return (hr);
15 }
16 CreateDirectPlayInterface():
17 Actually creates the DirectPlay object
18 Once we create the DirectPlay
19 object, we no longer need the
20 service providers GUID

in Table To:


© 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