Commit Graph

3 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
2c8d0ecc9b Samples: Fix findfunc + symtest samples using incorrect dll name. (#131)
@GladYouLikeIt described the bug in the issue:

> Extend.cpp is built into extend64.dll for x64, and extend86.dll for x86,
> but the code in samples\findfunc\extend.cpp references the dll without
> specifying the DETOURS_BITS in the dll name. DetourFindFunction fails
> at runtime because of this.

@ohuseyinoglu noted the same bug in SymTest.cpp as well.

Fixes #2
2020-08-30 19:45:53 +00:00
Galen Hunt
e5400b4ec5 Initial fork of Detours 4.0 from Detours 3.0 archive. 2016-11-07 17:37:52 -08:00