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?
C++ SDK lib in v3.7.1 connection is incorrect
-
- Posts: 1
- Joined: Fri Sep 30, 2022 9:54 am
Re: C++ SDK lib in v3.7.1 connection is incorrect
Try the following code:
Code: Select all
#ifdef _M_IX86
#pragma comment(lib, "VMProtectSDK32.lib")
#elif _M_X64
#pragma comment(lib, "VMProtectSDK64.lib")
...