C++ SDK lib in v3.7.1 connection is incorrect
Posted: Fri Sep 30, 2022 10:16 am
hello,
When I was using VS to connect to the SDK, VS reported a connection error。
it works in Debug x64,but VS reported it can‘t find "VMProtectSDK32.lib"
I think it maybe a bug in VMProtectSDK.h
here is the bug code:
#ifdef _M_IX86
#pragma comment(lib, "VMProtectSDK64.lib")
#elif _M_X64
#pragma comment(lib, "VMProtectSDK32.lib")
#elif _M_ARM64
#pragma comment(lib, "VMProtectARM64.lib")
I think the "VMProtectSDK32.lib" and "VMProtectSDK64.lib" code positions are reversed,is it right? Or maybe I misunderstood the author's intention。
and how to solve this connection error?
When I was using VS to connect to the SDK, VS reported a connection error。
it works in Debug x64,but VS reported it can‘t find "VMProtectSDK32.lib"
I think it maybe a bug in VMProtectSDK.h
here is the bug code:
#ifdef _M_IX86
#pragma comment(lib, "VMProtectSDK64.lib")
#elif _M_X64
#pragma comment(lib, "VMProtectSDK32.lib")
#elif _M_ARM64
#pragma comment(lib, "VMProtectARM64.lib")
I think the "VMProtectSDK32.lib" and "VMProtectSDK64.lib" code positions are reversed,is it right? Or maybe I misunderstood the author's intention。
and how to solve this connection error?