VMProtectBegin and VMProtectEnd

Hello, I am not sure I get the meaning of these two functions.

Could I use goto in the code between begin and end?
For example.

begin
vmprotectbegin(nil);


goto jumpout;


vmprotectend();
jumpout:
end;

Many thanks!

Yes, you do.

Thanks…

Should the VMProtectBegin and VMProtectEnd be in pairs?

What happens if they are not in pairs?

https://forum.vmpsoft.com/t/51