Solution
To resolve the Exception: Access violation (0xC0000005) at EIP=0x5F02725B issue, try the following troubleshooting steps:
- Create a new LabVIEW project
- Drag and drop all the VIs and files used in the project that you used for building the executable
- Save the project
- Repeat the saving process, but this time select Save As and duplicate the project with all dependencies, as shown in the figure below.
- Close the project and then open the last saved
- Create the executable
To resolve the Exception: Access violation (0xC0000005) at EIP=0x64D332C7 issue, try the following troubleshooting steps:
- Open the .vi where you are calling the GetWindowTextA function in the Windows user32.dll
- Increase the dimension, in terms of space, of the constant (item 1 in the figure below) connected to the CStr IpString terminal (item 2 in the figure below). This constant is used to determine the available space in the buffer. You can add empty Spacebar characters in the string constant to increase its space.
You can also open the
error log file after LabVIEW crashes and analyze the
<DEBUG OUTPUT> section. Check if there is a line similar to the following:
DWarn 0x8669953C: Could not resolve linker reference.
- In this case, repair or reinstall the Run-Time Engine.