Page 1 of 1

How to use vmprotect.dll with dllimport?

Posted: Tue Apr 21, 2020 4:09 pm
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 3249 times

Re: How to use vmprotect.dll with dllimport?

Posted: Wed Apr 22, 2020 2:09 pm
by Admin
You have to use VMProtect.SDK.dll instead of VMProtectSDK64.dll.