$ManifestOff command

Purpose

The $ManifestOff directive prevents the inclusion of the manifest resource in the compiled to EXE for a g32 project.

Syntax

$ManifestOff

Description

By default, the IDE comes with a GfaWin32.Exe.Manifest file to enable the IDE to use the Windows XP Visual styles (or common controls version 6). The GFA-BASIC 32 programs started from inside the IDE inherit the new visual styles automatically. When an application is compiled to EXE it includes a copy of the same GfaWin32.Exe.Manifest file as a resource. You can prevent the automatic inclusion of the manifest as a resource by adding this command to the program. This is useful if you want to provide a custom manifest file for the EXE.

Remarks

The GfaWin32.Exe.Manifest can be used as a template for your own manifest files. Copy GfaWin32.Exe.Manifest to the program's directory and then replace the first part of the manifest's filename ('GfaWin32') with the name of your own executable; Myprog.Exe.Manifest

{Created by Sjouke Hamstra; Last updated: 09/05/2020 by James Gaite}