Resources

Adding and removing interpreter resources at build time.

New : AC no longer deletes all resources by default.

Description - Optional

Type        - One of the following number or string types:

1


Api typeAC typeGeneric type
1
RT_CURSOR
2BMPRT_BITMAP
3
RT_ICON
4MNURT_MENU
5DLGRT_DIALOG
6 STR RT_STRING
7
RT_FONTDIR
8

9

10

11

12

14

16







    6            STR        RT_STRING
    7                    RT_FONTDIR
    8                    RT_FONT
    9                    RT_ACCELERATOR
    10            RC        RT_RCDATA
    11                    RT_MESSAGETABLE
    12                    RT_GROUPCURSOR
    14            ICO        RT_GROUPICON
    16            VER        RT_VERSION
    17                    RT_DLGINCLUDE
    19                    RT_PLUGPLAY
    20                    RT_VXD
    21                    RT_ANICURSOR
    22                    RT_ANIICON
    23            HTM        RT_HTML
    24            XML        RT_MANIFEST

With the exception of Bitmap and Icon Group , All resources
are added as raw data (as they exist in the file) .

This parameter can also be a user defined string or value
other than those above for custom resource types.

Index/Name  - Numeric index or string name of this resource.
               (A string NAME cannot begin with a number!)

Lang        - Display a popup menu of common sub languages.
              Or put numeric sub language code yourself.
              0 means neutral, default if undefined.

File        - The file path to the resource item.

If no file is specified the resource item will be deleted.

Starting the filepath with a hash '#' character allows the
file to be an exe or dll, because of its limitations this is
only useful for preserving individual interpreter resources
when you tell AC to delete them all.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      Build config representation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  [ A3C_RES ]
  [Description] = Type } Index } Lang } [[#]File]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      Resource notes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The interpreter resources are not obsolete, they have varying
purposes and levels of importance such as:

  Critical and syntaxical error message output.
  Inputbox dialog display.
  Default systray icon and menu behaviour.
  System specific manifest attributes.

Removing a resource that the interpreter expects to find at
runtime produces varying effects liable to change at any time:

  An empty error message box is displayed.
  The inputbox is not displayed when required
  No default systray behaviour.
  System level glitches concerning the gui or priveliges.
  Crashes of varying degree of severity.

Always test your program until you are blue in the face if
you choose to delete interpreter resources, or at least be
confident in what you and your program and the interpreter
is doing.