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

dearchris
Posts: 4
Joined: Mon Jan 09, 2017 10:33 am

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

Postby dearchris » Mon Jan 09, 2017 11:05 am

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_Static_Libraries_Using_The_Build_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: 1188
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?

Postby Admin » Tue Jan 10, 2017 12:31 pm

It seems you forgot to copy VMProtectSDK64.lib from %VMProtect%/Lib into your working directory.

dearchris
Posts: 4
Joined: Mon Jan 09, 2017 10:33 am

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

Postby dearchris » Wed Jan 11, 2017 8:10 am

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.


Return to “Technical questions”

Who is online

Users browsing this forum: No registered users and 4 guests