Building the DLL Project Tutorial

In this example we show how to create a project for a DLL (Dynamic Linked Library) using one of the built-in Carbide templates, how to build it into an executable, and how to launch the debugger to verify program accuracy. The steps to do this include:

  1. Creating a DLL project from a project template
  2. Building the DLL object code based on the project sources
  3. Debugging the DLL using the Carbide debugger

Building a DLL is just like building any other executable.

Building the DLL project

  1. Select the project to build in the Project Explorer view.
  2. Build the project using one of these actions:
    • Right-click the project in the Project Explorer view and choose Build Project.
    • Click the Run > Build Project menu option.
    • Click the Build (Build Project icon) icon in the toolbar to build the project.
  3. Verifying a successful project build

Once compiling is complete use the Project Explorer, Problems, Console, and Executables views to locate and resolve any problems generated during the build. See Step 2 here for more details.

Project Explorer showing DLL project

NEXT STEP > Defining a launch configuration for running or debugging the DLL

Other references