Visual C++ and MFC Programming 2nd Edition

(Martin Jones) #1

Index Visual C++ and MFC Fundamentals


Rectangle

Semi-Circle

Triangle

Practical Learning: Creation a Definition DLL



  1. To start a new application, open the New Project dialog box and, in the Project
    Types list, click Visual C+ Projects

  2. In the Templates list, click Win32 Project. In the Name box, type MomentInertia and
    press Enter

  3. In the Win32 Application Wizard, click Application Settings. Click the DLL radio
    button and click Finish

  4. To add a header file, on the main menu, click Project -> Add New Item...

  5. In the Add New Item dialog box, click Header File (.h). In the Name edit box, type
    MomentOfInertia and press Enter

  6. In the empty file, type the following:


// MomentOfInertia.cpp : Defines the entry point for the DLL application.
//
#pragma once
Free download pdf