Show/Hide Toolbars

XSharp

Include file '{0}' will be skipped because its values are included in assembly '{1}'.

 

Vulcan.Net and some of the other dialects use Include files to define various constants. These constants are now included as DEFINE in the X# runtime libraries.

When the compiler detects that your code is still including these include files it will warn you and will NOT read the contents of the include files.
This is in particular important for some header files, such as SET.CH from Xbase++ where some of the numeric values of the defines have been changed because they were incompatible with the same named values in other dialects.

 

// Assume you compile with the X# runtime and VO SDK libraries included
#include "VOWin32APILibrary.vh"   // warning XS9081 here
FUNCTION Start as VOID
  ? WM_CREATE         // this will still work because WM_CREATE is included as constant in VOWin32APILibrary.dll
  RETURN