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

Definition of Object Code

By David Bolton, About.com

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

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

Easy ways to connect two computers for networking purposes. 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.