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

Issues related to VMProtect
Post Reply
dearchris
Posts: 5
Joined: Mon Jan 09, 2017 10:33 am

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

Post 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.
Admin
Site Admin
Posts: 2566
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

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

Post by Admin »

It seems you forgot to copy VMProtectSDK64.lib from %VMProtect%/Lib into your working directory.
dearchris
Posts: 5
Joined: Mon Jan 09, 2017 10:33 am

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

Post 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.
Post Reply