4 Commits

Author SHA1 Message Date
Brian Gianforcaro 244b243d82 Build: Catch incorrect format specifiers with /we4777 and fix issues. (#129)
* Build: Catch incorrect format specifiers with /we4777 and fix issues.

Most of these are using %d for a DWORD when it should be %ld.

* More compilation fixes
2020-08-31 18:33:59 -07:00
Brian Gianforcaro c89449a124 CI: Add initial CI workflow for Detours (#121)
* Build: Fix of traceapi on Windows SDK >= 10.0.19041.0

In the 10.0.19041.0 SDK, the definitions for GetThreadLocale
and SetThreadLocale were moved under a #if(WINVER >= 0x0500)
check, where there was no such check before.

Adjust the detours build to have the same check, to avoid
consuming undeclared functions

* Build: Suppress logo (/nologo) in places where it was missed

* CI: Add initial CI workflow for Detours project

Add a simple workflow that builds x86 and x64 build architecture on push to master,
or to validate pull requests before merge.

* CI: Add codeql analysis to the build
2020-08-19 16:43:37 -07:00
asmichi 3d9580164d Use DetourCreateProcessWithDllExA/W so that the traceapi sample can detour a child processe with different bitness. (#43)
This commit fixes #18.
2019-01-23 13:34:02 -08:00
Galen Hunt e5400b4ec5 Initial fork of Detours 4.0 from Detours 3.0 archive. 2016-11-07 17:37:52 -08:00