I suppose there should be a special build with VS2017 in additional to the provided.1>madCHook64mt.lib(ObjectTools.obj) : error LNK2001: unresolved external symbol vsprintf_s
1>madCHook64mt.lib(DriverInject.obj) : error LNK2001: unresolved external symbol vsprintf_s
1>madCHook64mt.lib(SString.obj) : error LNK2001: unresolved external symbol vswprintf_s
VS2017 support
VS2017 support
When I link madCHook64mt.lib in VS2017 I get the following errors:
Re: VS2017 support
I have made some workaround by making dummy function calling these functions:
That way compiler to generate the inline functions and makes linker happy.
Code: Select all
#include <stdio.h>
void workaroundMadCHook()
{
char cc[100];
sprintf_s(cc, "a");
wchar_t c[100];
swprintf_s(c, L"a");
}
Re: VS2017 support
As pointed here: viewtopic.php?f=7&t=28164 adding library legacy_stdio_definitions.lib solves the problem.