User Tools

Site Tools


rt_manifest_constant

RT_MANIFEST constant

In VO (and Vulcan.NET) the RT_MANIFEST constant is defined as follows:

DEFINE RT_MANIFEST := PTR (_CAST,24)

In VO, this may work (but there are cases where it seems to not work correctly, i.e. the builtin manifest is not correctly recognized correctly when it comes to load COM modules in SideBySide operations), but the X# compiler will return an error:

Failed in compiling native resources
error RC2237 : numeric value expected at _CAST
error RC1013 : mismatched parentheses
error RC2135 : file not found: _CAST

To make this compile, simply replace the RT_MANIFEST constant in your RC file by the value 24, or define your own constant:

define RT_MANIFEST := 24

In later versions after version 2.0.0.4, the VOXPorter should take care of this.

rt_manifest_constant.txt · Last modified: 2018/09/04 03:49 by wolfgangriedmann