DCX - Dialog Control Xtension
 
How To Compile
To compile DCX you need:
Visual Studio 2019 16.11.14+, recommended is VisualStudio 2022 v17.6.5+
Full latest windows desktop SDK installed.
DCX Source. https://github.com/twig/dcxdll
GSL installed. https://github.com/microsoft/GSL.git
Microsoft Windows Implementation Library. (Downloaded by VisualStudios NuGet Package Manager) https://github.com/microsoft/wil
Microsoft Windows WebView2. (Downloaded by VisualStudios NuGet Package Manager) https://developer.microsoft.com/en-us/microsoft-edge/webview2/
PHP v7+ installed, recommended PHP nts 8.2.11+ (only for the docs) https://www.php.net/
Git for windows installed. (This is needed to auto create gitBuild.h)
mIRC v7+ installed, recommended v7.75+. (only for debugging) https://www.mirc.co.uk/
Optional:
Detours installed. Only if you don't wish to use the supplied libs. https://github.com/microsoft/Detours.git
PCRE2 installed. Only if you don't wish to use the supplied libs. https://github.com/PhilipHazel/pcre2.git


How To Compile Details
First you will need to edit the file dcx.props
Near the top you will see <PropertyGroup Label="UserMacros"> this group will contain the entries:
Tag Description
<mIRCDir>C:\mIRC_Basic</mIRCDir> Path to the mIRC executable to use for debugging, this should be a stand alone install of mIRC, not your main install.
<PHPDir>C:\php</PHPDir> Path to the php.exe
<DetoursDir>$(SolutionDir)Detours\</DetoursDir> Path to the Detours files. Only change this if you decide to compile Detours yourself.
<GSLDir>F:\CSource\GSL-Master\GSL\include</GSLDir> Path to the GSL files.
<PCRE2Dir>$(SolutionDir)pcre2\</PCRE2Dir> Path to PCRE2 compiled libs. Only change this if you decide to compile PCRE2 yourself.
<DirectXTKDir>F:\CSource\DirectXTK\</DirectXTKDir> Path to DirectXTK files. (not used atm)
<WebView2Dir>$(SolutionDir)packages\Microsoft.Web.WebView2.1.0.2210.55\</WebView2Dir> Path to WebView2 files. (Needed for web2ctrl)
These files should be downloaded by VisualStudios NuGet Package Manager

  • These entries must be changed to match the system you are using.
  • Before compiling DCX you must first have Detours compiled, You will need the 32bit debug & 32bit release builds.
  • After these have been edited you can load the solution file and compile.
  • When first compiling you should see NuGet Package Manager download the Microsoft.Web.WebView2 & Microsoft.Windows.ImplementationLibrary packages, You may need to adjust the WebView2Dir after these install if the version is different.
  • When compiling you should see the "SourceControl" project run before the DCX project, this creates gitBuild.h
  • You should also see the project "DxErr" run before DCX, this creates the DxErr.lib file needed by DCX.

  • Contact © 2005-2025 Last Updated: 18th February, 25

    Valid XHTML 1.0 Transitional Valid CSS!