ENROLLVM: Demonstrates Modeling of a Visual C++ Application

   

Click to open or copy the ENROLLVM model and project files.

The ENROLLVM sample shows you how to model and generate code for a Visual C++ application using Microsoft Visual Modeler 2.0. It is based on the ENROLL tutorial, which is a typical Microsoft Foundation Class Library (MFC) database application. The sample consists of the Visual C++ project files from the ENROLL tutorial and the corresponding design model.

The ENROLLVM sample is used in the Visual Modeler Quick Start with Visual C++ for Microsoft Visual Modeler 2.0. By following the Quick Start with Visual Modeler, you will quickly become acquainted with the Visual C++ integration feature of Microsoft Visual Modeler 2.0. The tutorial shows how to:

The Quick Start with Visual Modeler tutorial adds one additional step to the ENROLL tutorial. Thus, before starting the Quick Start, complete the ENROLL: Database Application tutorial.

If you want to browse the design model of the ENROLLVM sample without following the Quick Start, start Microsoft Visual Modeler and open Enroll.mdl. A diagram called the Three-Tiered Service Model is displayed. This diagram shows the architecture of the ENROLL application, that is, the classes of the design model and the relations between them. This diagram, together with the high-level specification of each class, makes it easier to understand how the system is structured. Defining and maintaining the architecture and relationships within the system are among the most important aspects of large-scale iterative development.

To run the ENROLLVM application, open Enroll.dsw in Visual C++. On the Build menu, click Build enroll.exe. Then, on the same menu, click Execute enroll.exe. If you have problems running the application, make sure that the database file StdReg32.mdb is registered with an ODBC DSN named Student Registration. This step is outlined at the beginning of the ENROLL tutorial, under Setting Up the Student Registration Data Source.

The ENROLLVM model was built with Microsoft Visual Modeler, version 2.0, and the project was implemented with Microsoft Visual C++, version 6.0.