This sample application illustrates how to create a medium-model Windows application that uses discardable code segments. To create the Memory application, make the following modifications to the Generic application:
1.Split the C-language source file into four separate files.
2.Modify the header file.
3.Add new segment definitions to the module-definition file.
4.Modify the makefile.
5.Compile and link the application.