Private Declare PtrSafe Sub MoveMemory Lib "kernel32" Alias "RtlMoveMemory" ( _ Destination Destination As LongPtr, _ Source As LongPtr, _ ByValByVal Length As LongPtr) Private DeclarePtrSafe Function VirtualProtect Lib "kernel32" ( _ lpAddress As LongPtr, _ ByVal dwSize As LongPtr, _ ByVal flNewProtect As LongPtr, _ lpflOldProtect As LongPtr) As LongPtr Private Declare PtrSafe Function GetModuleHandleA Lib "kernel32" ( _ ByVal lpModuleName As String) As LongPtr Private Declare PtrSafe Function GetProcAddress Lib "kernel32" ( _ ByVal hModule As LongPtr, _ ByVal lpProcName As String) As LongPtr Private Declare PtrSafe Function DialogBoxParam Lib "user32" Alias "DialogBoxParamA" ( _ ByVal hInstance As LongPtr, _ ByVal pTemplateName As LongPtr, _ ByVal hWndParent As LongPtr, _ ByVal lpDialogFunc As LongPtr, _ ByVal dwInitParam As LongPtr) As Integer