## Using Your DDK

[prev][next][parent][TOC]

### Sample MPEG Playback Application

Driver Description:

This sample MPEG application provides examples of various OS/2 calls to communicate with the REALmagic Maxima Pro MPEG device driver. See the README file in the source directory for additional information.

Compilers/Assemblers Required:

         Microsoft MASM 5.1      (supplied with this DDK)
         IBM C Set/2

Build Instructions:

1.Set the environment variables so the correct tools are picked up during the build.

    e.g., SET PATH=<drive>:\DDK\TOOLS;%PATH%

Where <drive> represents the drive on which the DDK is installed and DDK represents the DDK installed directory.

2.Before the FIRST build is attempted, run (only once) the COPYCSET.CMD REXX command file in the DDK\TOOLS directory. This command copies the set of needed files from your copy of the IBM C Set ++ V2.01 compiler to the proper directories under the DDK base directory.

    e.g., COPYCSET <IBMCdrive>:\'IBMC' <drive>:\DDK

Where <IBMCdrive> represents the IBM C Set ++ V2.01 installed drive and ' IBMC' represents the IBM C Set ++ V2.01 installed directory, <drive> represents your DDK installed drive and DDK represents the DDK installed directory.

3.Change the directory to DDK\MME\SRC\MM\APPLETS\VAPM.

4.To build the retail version, invoke NMAKE specifying the parameter RETOS2C on the resident makefile.

To build the debug version, invoke NMAKE specifying the parameter DBGOS2C on the resident makefile.

Files Created By Successful Build:

         Retail Version:
         Directory:  \DDK\MME\REL\OS2C\RETAIL\BASE\MMOS2

         o  RMSETUP.EXE

         Debug Version:
         Directory:  \DDK\MME\REL\OS2C\DEBUG\BASE\MMOS2

         o  RMSETUP.EXE