In this example we show how to create a project for a DLL (Dynamically Linked Library) using one of the built-in Carbide templates, build it, then attach to another program for debugging. The steps to do this include:
NOTE There must be at least one recognized SDK installed before you can create a project. See the SDK Preferences panel to determine if the installed SDKs are recognized by Carbide.c++ IDE. If the SDK you have installed is not recognized, you may still be able to add it to the Discovered Symbian OS SDK list.
In this tutorial you'll create a simple DLL project using the New Symbian OS C++ Project wizard, attach it to the HelloWorld project created here, then debug it.
The New Symbian OS C++ Project window appears to guide you through project creation process.
Select the template for the type of project you want to create. For this example we chose the Generic Symbian OS > Baisc dynamically linked library (DLL) template. Note that as you select a template a brief description appears below the list explaining it attributes.
The project name is used to define several of the pre-build source files in the prject.
Uncheck the Use default location option to specify a different location for the project.
Based on the installed SDKs you can choose between SBSv2 (recommended) and the older SBSv1 build systems.
Here you can select from any SDK that is both installed and recognized by Carbide. If the SDK supports several build configurations (GCCE, RVCT, etc.) then you can pick and choose among them for your project.
Carbide uses the selected project template and your settings to create the DLL project in the Project Explorer view.
NEXT STEP > Building the object code based on the project sources