This manual describes how to use the CodeWarrior® IDE to develop code targeted at the Win32/x86 platform, including stand-alone application programs, dynamic link libraries (DLLs), and static libraries. This manual also shows how to set Win32/x86 project options and create Win32 resources, describes Win32/x86-specific run-time libraries, and tells how to debug Win32/x86 code with the IDE debugger. Specific information about targeting AMD®-based processor systems is also included.
If you are porting code from another platform, there may be information relevant to your project in the CodeWarrior Porting Guide.
Win32 programs created with the CodeWarrior IDE can run on any x86-class system supporting the Win32 API, such as systems based on processors from Intel®, Cyrix®, or AMD, including the following versions of the Microsoft® Windows® operating system:
This introduction includes the following sections:
Read the Release Notes! What's New in This Release The CodeWarrior IDE and Its Documentation What's in This Manual Where to Go from Here
Before you use the CodeWarrior IDE or any particular tool, you should read the release notes. They contain important last-minute information about new features, bug fixes, and incompatibilities that may not be included in the printed documentation.
The release notes are always included in the standard installation. Additionally, the release notes have their own folder at the top level of the CodeWarrior CD.
The CodeWarrior IDE has been enhanced and streamlined for this release. The following changes those are most relevant to Win32 development:
The CodeWarrior IDE is a multi-host, multi-language, multi-target development environment. What does that mean?
The CodeWarrior IDE supports several different operating systems, including Windows, variants of UNIX, and Mac® OS. The features, human interface, and operation of the IDE is very similar on all hosts.
You can use the CodeWarrior IDE to program in several languages, including C/C++ and Java. Third-party compilers provide support for other languages, such as Fortran. Which languages are available to you depend upon the target for which you are developing software.
You can use the CodeWarrior IDE to write software for many different processors or operating systems. A variety of embedded processors and real-time operating systems, the Java Virtual Machine, and desktop operating systems such as Windows and Mac OS are all supported by the CodeWarrior IDE.
Most features of the CodeWarrior IDE function identically regardless of your preferred host, language, or target. General features of the CodeWarrior IDE are described in other manuals, such as the IDE User Guide.
However, each target has its own unique features. This manual describes those features unique to Win32/x86 development.
For a complete understanding of the CodeWarrior IDE, you must refer to both the general documentation and the documentation specific to your particular target, such as this manual.
The documentation is organized so that various chapters in this manual are extensions of particular generic manuals, as shown in Table 1.1. For a complete discussion of a particular subject, you may need to look in both the generic manual and the corresponding chapter in this Targeting manual.
The CodeWarrior IDE documentation organization:
| This chapter... |
Extends... |
|---|---|
For example, to completely understand the C/C++ compiler, you need to know the information in the C Compilers Reference (which covers the C/C++ front-end compiler) and the information in the C and C++ for Win32 chapter of this manual, which covers the back-end compiler that generates target-specific code.
Table 1.2 lists every chapter in this manual, and describes the information contained in each. However, this manual only contains information specific to Win32/x86 software development. See "The CodeWarrior IDE and Its Documentation" for a discussion of how these chapters relate to other CodeWarrior IDE documentation.
| Chapter |
Description |
|---|---|
Every manual mentioned in this section is on the CodeWarrior Reference disc.
If you're new to Win32 programming, you may find the tutorial chapter of this manual particularly valuable. It provides a step-by-step tutorial for building a simple program to run on Win32 systems.
NOTE Online documentation for the CodeWarrior IDE is installed automatically; however, you will need to install third-party online help files, such as those for Microsoft API and MFC using the CodeWarrior installer. If you execute a search and receive a message saying the topic does not exist, this most likely means you have not installed the associated help files.