//VMProtect SDK
#define VMProtectBegin \
__asm _emit 0xEB \
__asm _emit 0x10 \
__asm _emit 0x56 \
__asm _emit 0x4D \
__asm _emit 0x50 \
__asm _emit 0x72 \
__asm _emit 0x6F \
__asm _emit 0x74 \
__asm _emit 0x65 \
__asm _emit 0x63 \
__asm _emit 0x74 \
__asm _emit 0x20 \
__asm _emit 0x62 \
__asm _emit 0x65 \
__asm _emit 0x67 \
__asm _emit 0x69 \
__asm _emit 0x6E \
__asm _emit 0x00 \
#define VMProtectEnd \
__asm _emit 0xEB \
__asm _emit 0x0E \
__asm _emit 0x56 \
__asm _emit 0x4D \
__asm _emit 0x50 \
__asm _emit 0x72 \
__asm _emit 0x6F \
__asm _emit 0x74 \
__asm _emit 0x65 \
__asm _emit 0x63 \
__asm _emit 0x74 \
__asm _emit 0x20 \
__asm _emit 0x65 \
__asm _emit 0x6E \
__asm _emit 0x64 \
__asm _emit 0x00 \
vc2005 不认 VMProtectBegin 和VMProtectEnd 提示
提示 使用了非标准扩展: 不支持在此结构上使用“__asm”关键字
------解决思路----------------------
VS的编译器不支持64位内联汇编
------解决思路----------------------
单独写一段64位汇编代码