VCLX: How to build

  1. Unzip downloaded source code archive to any empty catalog - it will be <VCLX> "build root".
  2. Go to "<VCLX>/pefixer" catalog, select MSVS solution "pefixer_*.sln" for the compiler that you use and build "Release_Unicode" or "Release" configuration (on your choice).
  3. Go to "<VCLX>/hooks" catalog, select MSVS solution "hooks_*.sln" for the compiler that you use and build all targets for "Release" configuration.
  4. Go to "<VCLX>/sources" catalog, select MSVS solution "vclx_*.sln" for the compiler that you use and build all targets for "Debug", "Debug_Unicode", "Release" and "Release_Unicode" configurations.
  5. Go to (optional) "<VCLX>/tests" catalog, select MSVS solution "HelloVCLX_*.sln" for the compiler that you use and build all targets for "Debug", "Debug_Unicode", "Release" and "Release_Unicode" configurations.

Notes

If you want to use multiple compilers to build VCLX "library", for each needs its own <VCLX> "build root".

Build supports "x86" and "x64" platform in one <VCLX> "build root", but only for the same compiler. You can build both in one build (for it use both sulutions). Solution for "x64" target has a "-x64" suffix in its solution name.

For best choice, solution name contains "MSVS version":

  • Solution "*_2005*.sln" is for "MSVS 2005";
  • Solution "*_2008*.sln" is for "MSVS 2008";
  • Solution "*_2010*.sln" is for "MSVS 2010";
  • Solution "*_2012*.sln" is for "MSVS 2012".

Advanced notes

By default, VCLX "library" is configured for Microsoft Windows "4.00" version support. It includes "Windows 95" and "Windows NT" as minimal suported versions.

But you can change this behaviour. For that, you can make changes in "<VCLX>/common/VCLX_Targets.h" for "VCLX_TARGET_OS_COMPATIBLE_VER" define - valid values are: == "0x04000000" ("Windows 95/NT") or any value >= "0x05000000" ("Windows 2000").

After changes are made you need to rebuild "<VCLX>/sources" and "<VCLX>/tests" solutions only.

Known Issues

  • To build "x64" asm-part using Microsoft "Visual Studio 2005/2008", you need additional steps:
    • Go to "<MSVS install root>/VC/bin/AMD64" and make file copy from "ml64.exe" to "ml.exe";
    • Go to "<MSVS install root>/VC/bin/x86_AMD64" and make file copy from "ml64.exe" to "ml.exe".

© "VCLX DevTeam" 2012, all rights reserved


Related

Wiki: HOME
Wiki: VCLX: How to use

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.