1. Home
  2. Computing & Technology
  3. C / C++ / C#

Definition of Object Code

By , About.com Guide

Definition: During compilation the compiler transforms source code into object code. On Win 32 platforms, the object code is in the form of .obj files. Each .obj file contains machine code plus any resources

However an .obj file cannot be run. It requires a further Link stage where a Linker program reads in all the object code, assembles it into an executable file and then writes that to disk.

On. .NET platforms, the object code is known as an assembly. It includes extra information that permits the assembly to be loaded into memory and linked at runtime after checking that it is the correct version.

Glossary:

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Examples:
The object code file was 24KB in size.
Explore C / C++ / C#
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. C / C++ / C#
  4. Glossary
  5. Object Code - Definition

©2009 About.com, a part of The New York Times Company.

All rights reserved.