Try commenting out all the code between OpenFile and CloseFile to see if it's this which is causing the hang. If so, you could add the file to an area rather than using OpenFile, to see if that helps.
This is a forum entry for anyone receiving the error message "The code execution cannot proceed because VCRUNTIME140.dll was not found. Reinstalling the program may fix this problem".
T...
Hi Andis,
Thank you for reaching out regarding "HAL Code Quality Control with AI."
The project is currently in its final stages. Once complete, an official release statement and a tech...