Академический Документы
Профессиональный Документы
Культура Документы
/>
</dependentAssembly>
</dependency>
</assembly>
The only properties you have to change are:
name="MyCompany.MyProduct.myapplication"
and
<description>This is the My Application.</description>
To deploy the manifest with the application one has the following options:
a) deploy the manifest file as file together with the .EXE or
b) link the manifest file as resource to the .EXE
Option a) is the easiest one: you simply copy the manifest file to the directory where
the .EXE resides and start the EXE, now the EXE should receive the new styles.
The problem is is that this does not work correctly when the EXE is installed on a
network drive. (Microsoft claims: this may work when installed with Windows
Installer Version 2, but this has not been tested yet).
Alaska Software therefore recommends to use option b.), create a resource file from
your manifest file and link this resource to your EXE file.
In case you are using Xbase++ 1.8 or higher, create a .ARC file which contains the
following code
#define MANIFEST_RESID 1
#define MANIFEST 24
USERDEF MANIFEST
MANIFEST_RESID FILE = "mdidemo.exe.manifest"
In case your application already has a resource file, simply add these lines to your
resource file of your application.
In case you are using Xbase++ 1.7 or earlier, you have to use the Microsoft RC.EXE
as ARC does not support manifest files:
myapplication.rc
The myapplication.rc file must contain the following code:
#define CREATEPROCESS_MANIFEST_RESOURCE_ID 1
#define RT_MANIFEST 24
Now link compile the resource file with ARC.EXE or RC.EXE and link it to your
application. In case you are using PBUILD you might add the .RC or .ARC file to your
project file.
NOTE: Alaska Software strongly recommends to upgrade your Xbase++ version to the
current top level. Windows XP themes are complicated to support with regard to
existing Windows controls. This is especially true when it comes to Window border
sizes and other implicit sizes of Windows controls which depend on the theme
selected. Newer Versions of Xbase++ have automated support for that type of
different visual appearance.