Page 1 of 1

Does VMProtect sopport Unreal Engine 4? and how to or has User Manual?

Posted: Mon Jan 09, 2017 11:05 am
by dearchris
Hi,

Does VMProtect sopport Unreal Engine 4? And how to or has User Manual?

I try to use VMProtectSDK.h to UE4 C++ project.
But got link fatal error lnk1104 cannot open file 'VMProtectSDK64.lib'
Seems UE4 can't direct import lib.

I marked below and try https://wiki.unrealengine.com/Linking_S ... ild_System
#ifdef _WIN64
#pragma comment(lib, "VMProtectSDK64.lib")
#else
#pragma comment(lib, "VMProtectSDK32.lib")
#endif // _WIN64

VMProtectBegin("Ultra");
VMProtectEnd();

Then got error.
error LNK2019: unresolved external symbol __imp__VMProtectBegin
error LNK2019: unresolved external symbol __imp__VMProtectEnd

Please help me.
Thank you.

Re: Does VMProtect sopport Unreal Engine 4? and how to or has User Manual?

Posted: Tue Jan 10, 2017 12:31 pm
by Admin
It seems you forgot to copy VMProtectSDK64.lib from %VMProtect%/Lib into your working directory.

Re: Does VMProtect sopport Unreal Engine 4? and how to or has User Manual?

Posted: Wed Jan 11, 2017 8:10 am
by dearchris
1.I re follow Linking_Static_Libraries_Using_The_Build_System again.
https://wiki.unrealengine.com/Linking_S ... ild_System

2 follow How to Link External C Libraries .dll .lib With Your Project & Package With Game
https://wiki.unrealengine.com/How_to_Li ... t_And_Easy

VMProtectSDK64.dll copy to UE4 project folder Binaries\Win64

Then it works.
Thank you.