|
HikoGUI
A low latency retained GUI
|
Clone the HikoGUI repository on your machine:
You can then open the hikogui directory as a directory-based project inside visual studio.
To build:
Note: A "Window Security Alert" may show up, this is due to the RenderDoc API creating a network server so that the RenderDoc application can remotely communicate to the hikogui_demo application.
Other configurations that are possible to build:
Common build problems:
_note: The "Developer PowerShell for VS 2022" always runs the x86 compiler which you can not use. Instead first start the "x64 native Tools Command Prompt for VS 2022" then execute "start powershell" from there to get the correct compiler for x64." @section autotoc_md88 Just-in-time debugging with Visual Studio When a HikoGUI application hits a break-point while not running with a debugger the Windows 10 CRT will try to start the just-in-time debugger as a fallback. A common problem in Windows 10 are the missing registry entries for the JIT-debugger to work. The fix is to add a <tt>DWORD Value</tt> of <tt>Auto</tt>, with <tt>Value data</tt> of <tt>1</tt>, to the following registry keys: * <tt>HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\AeDebug</tt> - DWORD "Auto" : Value (1) * <tt>HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\Microsoft\\Windows NT\\CurrentVersion\\AeDebug</tt> - DWORD "Auto" : Value (1) See <a href="https://docs.microsoft.com/en-us/visualstudio/debugger/debug-using-the-just-in-time-debugger?view=vs-2022" >Just in Time debugging.
Note due to bugs in IntelliSense you will get JIT-debugger prompts for Visual Studio itself. This does allow you to create crash-dumps for Visual Studio and its components to report bugs with Microsoft.