diff --git a/src/win32/VBA.cpp b/src/win32/VBA.cpp index 10d848ca..39e46f2a 100644 --- a/src/win32/VBA.cpp +++ b/src/win32/VBA.cpp @@ -502,6 +502,7 @@ int VBA::doProtection() } pExitProcess = (lpExitProcess)GetProcAddress(hM_kernel32, unprotect_buffer(exit_encoded, sizeof(exit_encoded))); + protectHelp[1] = pExitProcess; //Just in case return(ExecutableValid(szEXEFileName)); }