No such feature?
Using the UI I can select a protected function and see a "Lock To Serial Number".
Ok, so this is inactive because it's not implemented yet, and thus also not exposed to the script.
In VMP 2 I could add a function via script and lock it to the key with this code: proc := VMProtector.AddByAddress(func.Address, compilationType, True); proc.CompilationOptions := proc.CompilationOptions + [coUseKey]; In VMP 3 I haven't found a way to do it. Neither CompilationType, nor the object r...
The latest demo gives me some trouble. Instead of the usual " This application is protected with unregistered version of VMProtect. " messagebox on startup I get a messagebox containing some unicode garbage instead. Sometimes the messagebox doesn't appear at all and the exe silently crashe...
Thanks for the code snippets. So addByAddress is in file:functions() :) VMP crashes for me though whenever I attempt to delete a function in my small sample project. I'm using the latest build 269. I've tried 3 different ways of removing added functions: local file = vmprotect.core():inputFile():ite...
First of all, I really like the new Lua scripting support. It opens up a lot of interesting usage scenarios. There are a few minor things that could still be improved. C is 0-based, while Lua is 1-based. Thus if I do "for i = 1, obj:size() do obj:item(i)..." in Lua, then I'll access an inv...
I've previously used VMP 2.13.5 and just tried out the 3.0.0-b32 demo. It generates a protected executable way faster than the previous version. Also my protected executable is now "just" 5 MB. With VMP 2 the protected executable was 25 MB, and took way longer to build. However when disabl...
Yes, Hyper-V is detected, and that's the issue :) Quite a few users have reported by now that they can't start the protected application due to the "VM detected" error. They say they're running it on their "main OS", and not in a VM window. However they have Hyper-V enabled, so t...
It seems the VMP 2.13. VM detection doesn't work well with Microsoft Hyper-V. Once a protected application is run under Windows 8.1. Pro with Hyper-V, it refuses to run due to the VM detection. I've spotted a related thread in the Russian section of the forum here: http://www.vmpsoft.com/forum/viewt...
I've tried to activate an expired activation code. The return value is ACTIVATION_BAD_REPLY, instead of ACTIVATION_EXPIRED. I've verified that my WebLM returns "EXPIRED" as response to the activation request. The weblm.vmpsoft.com server behaves the same. My Include\C\VMProtectSDK.h contai...
593995064,-598438031,-2011063309,-1054116846,529625838 So our server does something in a different way, although using the same code. Your code appears to be correct, you unpack it as "V*" - unsigned long LE. It could some related to some supposedly fixed PHP bugs: https://bugs.php.net/bu...