Notes about compiling the code - allfoxwy/UnitXP_SP3 GitHub Wiki

  • I used MS VS 2022. Note that GCC has a different calling convention than MS compiler, Blizz used MS compiler so we couldn't use GCC (nor MinGW).
  • I staticly link MinHook. So UnitXP_SP3 also have C/C++ > Code Generation > Runtime Library > Multi-threaded(/MT)
  • I used C++ 17 features so C/C++ > Language > C++ Language Standard > ISO C++ 17 Standard(/std:c++17)
  • Linked with libMinHook.x86.lib and Winmm.lib and Ws2_32.lib