When I compile my Delphi application in 64-bit, the compiler says that the "asm instruction is not valid" in my VM macros

<< Click to Display Table of Contents >>

Navigation:  Themida > FAQ > Macros >

When I compile my Delphi application in 64-bit, the compiler says that the "asm instruction is not valid" in my VM macros

In order to use the protection macros (like VM macros) when compiling a 64-bit Delphi application, you have to insert the macros via "Function names" instead of "inline assembly". Please, refer to the example in the subfolder in the "ThemidaSDK/ExamplesSDK\Macros\Delphi\Via Functions"