LMD 2021 - Compiler Switches: Difference between revisions

From LMD
Jump to navigation Jump to search
Balabuyew (talk | contribs)
Balabuyew (talk | contribs)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Head-StartRes}}
{{Head-StartRes}}
== LMD VCL Packages ==
== LMD VCL Packages ==
Location of the global compiler switch include file is <source>lmdcmps.inc</source> in <b>lmdrtl</b> subfolder or main source folder. The following sections describe the use and functionality of main compiler switches.
 
The following global compiler switch include file is used for all LMD VCL packages: <source>lmdcmps.inc</source> The file is located in <b>lmdrtl</b> subfolder or the main source folder. The following sections describe the use and functionality of supported compiler switches.
   
   
=== General switches ===
=== General switches ===
Line 22: Line 23:


== LMD NG Packages ==
== LMD NG Packages ==
<b>This document is related to LMD 2011 packages only. </b><br>
The following global compiler switch include file is used for all LMD NG packages: <source>NG.Defs.inc</source> The file is located in <b>ngcommon</b> subfolder or the main source folder. The following sections describe the use and functionality of supported compiler switches.
Location of the global compiler switch include file is <source>lmdcmps.inc</source> in <b>lmdrtl</b> subfolder or main source folder. The following sections describe the use and functionality of main compiler switches.
   
   
=== General switches ===
* LMDDISABLE_OLEINIT - Comment this to disable OleInitialize in initialization section. '''Default: OFF'''
=== Debug switches ===
=== Debug switches ===
* LMD_DEBUG - Use this switch to enable/disable Debug settings for compiler. '''Default: OFF'''
* NG_DEBUG - Use this switch to enable/disable Debug settings for compiler. '''Default: OFF'''
* LMD_DEBUGTRACE - Required internally for special debugging purposes. '''Default: OFF'''
* NG_DEBUGTRACE - Required internally for special debugging purposes. '''Default: OFF'''
* LMD_DEBUGMESSAGES - Enables or disables output of debug messages. '''Default: OFF'''
 
=== Themes related switches ===
No longer available. Check [[LMD 2009 - Theme Engine|LMD 2009 Theme Engine]] for more info.
 
=== ElPack related switches ===
* LMD_ELUNISCRIBE - Uniscribe support: comment this switch, to disable Uniscribe support. ''note: feature is in alpha stage and not available for all controls''. '''Default: OFF'''
 
* LMDDISABLE_ELTOOLBAR_SETUP - Disables TElToolBar.Setup method that show the dialog that lets user re-arrange and show or hide controls on toolbar. This method is hidden by default to make less executable. '''Default: ON'''
 
* LMDDISABLE_ELHEADER_SETUP - Disables TElHeader.Setup method that show the dialog for sections in ElHeader object. This method is disabled by default to make less executable. '''Default: ON'''

Latest revision as of 13:35, 7 April 2021

<< Back to Getting started or Product Resources page

[edit]

LMD VCL Packages

The following global compiler switch include file is used for all LMD VCL packages:

lmdcmps.inc

The file is located in lmdrtl subfolder or the main source folder. The following sections describe the use and functionality of supported compiler switches.

General switches

  • LMDDISABLE_OLEINIT - Comment this to disable OleInitialize in initialization section. Default: OFF

Debug switches

  • LMD_DEBUG - Use this switch to enable/disable Debug settings for compiler. Default: OFF
  • LMD_DEBUGTRACE - Required internally for special debugging purposes. Default: OFF
  • LMD_DEBUGMESSAGES - Enables or disables output of debug messages. Default: OFF

Themes related switches

No longer available. Check LMD 2009 Theme Engine for more info.

ElPack related switches

  • LMD_ELUNISCRIBE - Uniscribe support: comment this switch, to disable Uniscribe support. note: feature is in alpha stage and not available for all controls. Default: OFF
  • LMDDISABLE_ELTOOLBAR_SETUP - Disables TElToolBar.Setup method that show the dialog that lets user re-arrange and show or hide controls on toolbar. This method is hidden by default to make less executable. Default: ON
  • LMDDISABLE_ELHEADER_SETUP - Disables TElHeader.Setup method that show the dialog for sections in ElHeader object. This method is disabled by default to make less executable. Default: ON

LMD NG Packages

The following global compiler switch include file is used for all LMD NG packages:

NG.Defs.inc

The file is located in ngcommon subfolder or the main source folder. The following sections describe the use and functionality of supported compiler switches.

Debug switches

  • NG_DEBUG - Use this switch to enable/disable Debug settings for compiler. Default: OFF
  • NG_DEBUGTRACE - Required internally for special debugging purposes. Default: OFF