1,507 questions
Such errors are common when switching from 32-bit to 64-bit version of Office. You must then update the declarations of API calls such as ShellWait. Search your application for the "Declare" statement and read up on how to convert them using the PtrSafe attribute.