Share via


CODE element

Describes a specific instance of native code.

Usage

<CODE
  CLASSID = "id_string"
  NAME = "classname"
  VERSION = "sVersion">
  child elements
</CODE>

Attributes

Attribute Type Required Description

CLASSID

id_string

No

Hexadecimal value, in GUID format, that uniquely identifies the component.

NAME

classname

Yes

String value name of the file that contains the native code. The file name, usually an *.ocx or a *.dll file, should be specified without the full path.

VERSION

sVersion

No

String value that identifies major, minor, custom, and build version numbers. The default value is "0,0,0,0".

Child elements

Element

IMPLEMENTATION

SYSTEM

Child element sequence

IMPLEMENTATIONSYSTEM

Parent elements

Element

NATIVECODE

Examples

This example shows how to use the CLASSID, NAME, and VERSION attributes to describe an instance of native code.

<CODE NAME="mycontrol.ocx" 
CLASSID="{01234567-89AB-CDEF-0123-456789ABCDEF}"
    VERSION="1,1,1,0">
    .
    .
    .
</CODE>

Element information

Minimum supported system

Windows XP
Can be empty No