How to use vmprotect.dll with dllimport?

Issues related to VMProtect
Post Reply
xaml
Posts: 1
Joined: Tue Apr 21, 2020 3:59 pm

How to use vmprotect.dll with dllimport?

Post by xaml »

Hi,

For some personal reasons, I couldn't use .net dll directly in my project. So I think it would be good to use dllimport with the native dll.However it doesn't work. It always return 2 when calling SetSerialNumber. Can you help me?
批注 2020-04-22 000644.png
批注 2020-04-22 000644.png (2.85 KiB) Viewed 3247 times
Admin
Site Admin
Posts: 2585
Joined: Mon Aug 21, 2006 8:19 pm
Location: Russia, E-burg
Contact:

Re: How to use vmprotect.dll with dllimport?

Post by Admin »

You have to use VMProtect.SDK.dll instead of VMProtectSDK64.dll.
Post Reply