Putting Generic Together

At this point you are ready to put the sample application, Generic, together. (You can find copies of the Generic source files on the distribution disks.)

To create the Generic application, you need to do the following:

1.Create the C-language source (.C) file.

2.Create the header (.H) file.

3.Create the resource script (.RC) file.

4.Create the module-definition (.DEF) file.

5.Add the .C, .H, .RC, and .DEF files to the project.

6.Build and run the application.

The following sections describe each step.

NOTE:

Rather than typing the code presented in the following sections, you might find it more convenient to simply examine and compile the sample source files provided on the sample disks.