While running a .exe in LabView 2021, I need to access an Excel file on the computer. The .exe opens the file in Excel to read from it. But, as soon as it tries to, the .exe crashes and throws the above error. It gives a possible cause, and it blames this vi.
This code has worked in the past and I have not edited it since.
What could be causing this exception, specifically one at EIP=0x00000000? How can I diagnose the problem? How could I tell if it is a problem in the program code or a permissions conflict on the hosting computer?
CodePudding user response:
First, try using the .NET API instead of the ActiveX. It should be more stable. Second, you have to wire all the inputs of the invoke node with a Type: Missing node.