ILTARGET

Enables an application to target a specified CPU type.

Syntax:
>>-.----.--ILTARGET--"CPU-type"------><
   +-NO-+
Parameters:
CPU-type Indicates the type of CPU and can be:
  • AnyCPU
  • Itanium
  • X64
  • X86
Properties:
Default: ILTARGET(AnyCPU)
IDE equivalent: Click Project > Properties >Configuration Properties > Build > Outputs > Platform Target
Comments:

The main uses of this directive are for performance and for integrating with components that use native platform invokes to access unmanaged code.

Applications compiled with SQL(DBMAN=ODBC) for .NET must be compiled with ILTARGET directive specifying the appropriate platform. You cannot specify ILTARGET(AnyCPU) in this case.

See Also: