## How to Build the DirectAnimation C++ Samples that Use the Windowed Control

To build the DirectAnimation C++ samples from the command line, follow these steps:

1. Make sure that the directories containing the Danim.dll and Ddrawex.h files are in your computer's path, include, and lib environment, respectively. For example:

       SET LIB=c:\dxmedia\lib\;

   If you are using untilNotify, make sure that Daguid.lib is also in your lib environment.

   Danim.dll should be located in the Windows\System directory for Windows 95 or Windows\System32 directory for Windows NT; Internet Explorer 4.x installs it.

   If you can't find Ddrawex.h or Daguid.lib on your computer, there are copies in the Include and Lib directories of the DirectX Media SDK.

2. Go to the directory where the samples are located and run NMAKE. Note that for the C++ samples included in this SDK, the Release build is the default build.

To build DirectAnimation C++ samples in Microsoft Visual C++ 5.x, set the paths as described in Step 1, and then follow these steps:

1. Start Microsoft Visual C++ 5.x and create a new Win32 application.
2. From the Project menu, choose Add To Project, and then select Files and insert the DirectAnimation C++ files to the project.
3. Press the F7 key to build.

If you are using untilNotify, you need to perform the following additional steps before you build:

1. From the Project menu, choose Settings, and then choose the Link tab.
2. Select General in the Category drop-down list.
3. Add Guids.lib (and Daguid.lib if using untilNotify) to the Object/library modules text box.
4. Click OK.

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.