hsp3.4用のxdim
こんな感じでいいんですかね
#ifndef __XDIM_H__ #define __XDIM_H__ #module "xdim" #uselib "kernel32.dll" #func VirtualProtect "VirtualProtect" var, int, int, var #define PAGE_EXECUTE_READWRITE 0x00000040 #define global xdim(%1, %2) dim %1, %2 : VirtualProtect %1, (%2)*4, PAGE_EXECUTE_READWRITE, pOldProtect #global #endif