In Dynamics GP 9 with a VS Tools install:
Unhandled script exception: Could not load external 'PEOpenEngine@CRPE32.DLL'. EXCEPTION_CLASS_SCRIPT_MEMORY SCRIPT_CMD_EXTERN
and it's brother
Could not load external 'PECloseEngine@CRPE32.DLL'.