Git Product home page Git Product logo

Comments (6)

Mattiwatti avatar Mattiwatti commented on June 18, 2024 1

Ignore @mrexodia, he's just trolling.

XP support broke in one of the recent snapshots due to an update to VS2019 in which Microsoft decided to reimplement some CRT functions using imports that are not available on XP. Unfortunately this is not so straightforward to fix due to the amount of code changes needed to get rid of the offending CRT usages (mainly things related to std::string <-> std::wstring conversion).

I normally try to preserve XP compatibility, but in this case the change was literally caused by a VS update, not any change to ScyllaHide itself.

For now it should be possible to build ScyllaHide using VS2017 or an older version of VS2019 from source yourself if you want the latest version, but I haven't tested this.

from scyllahide.

mrexodia avatar mrexodia commented on June 18, 2024

from scyllahide.

LordGarfio avatar LordGarfio commented on June 18, 2024

"Easy solution, switch to a more recent OS 😂"

Hi mrexodia, yes it is, but only for a few very slight changes to "scyllahide.ini" {NtCloseHook | NtCreateThreadExHook | NtSetInformationThreadHook} and "HookHelper.cpp" {sizeof (WoW64Peb >>> sizeof (PPEB) | = (ULONG) (ULONG_PTR) Callback; >>> = ULONG_PTR) Callback;} does not justify the OS change.

Anyway, your answer has been quite hilarious, so much so that I am still smiling.

So I will go from XP straight to 11 next year.

Thank you very much for your support and your great tools.

from scyllahide.

lupier avatar lupier commented on June 18, 2024

if you are not friendly with compilers, you can download the old builds.
for example one of the versions works fine for me with XP sp3 at ollydbg.

from scyllahide.

LordGarfio avatar LordGarfio commented on June 18, 2024

The last version of the Visual C++ Redistributable that works on Windows XP shipped in Visual Studio 2019 version 16.7 (file versions starting with 14.27).
https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170

Install the Windows XP platform toolset
https://docs.microsoft.com/en-us/cpp/build/configuring-programs-for-windows-xp?view=msvc-170

No, I am not friendly with compilers,

Cheers.

from scyllahide.

Mattiwatti avatar Mattiwatti commented on June 18, 2024

OK, well this took a while I admit, but it was also extremely not fun to fix. However as of 480dc49 XP support should finally be working again!

Note: the 'automatic release snapshots' is a different part of the build pipeline that is also broken, so for now you'll have to compile this yourself.

Note: release.bat will (by default) build an XP-compatible release. This means it will use the MSVC 14.27 toolchain and CRT mentioned by @LordGarfio (in fact it will automatically install this for you if it is missing... that's not extra user friendliness, it's because Github doesn't provide this toolchain on their instances). It also requires VS2019 and will not work with VS2022.

The VS solution/project files on the other hand will not do this by default, as presumably most people who compile ScyllaHide for themselves do not need/want XP support. The minimum supported version for builds compiled from VS (or release.bat with XP compatibility disabled) is now Windows 7.

from scyllahide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.