Try running outside of Visual Studio in a Visual COBOL command prompt so that the PATH and COBDIR are set to point to the correct system folders and it will find acufh.dll Navigate to Start menu-- Micro Focus Visual COBOL-- Tools-- Visual COBOL 32-bit Command prompt. When I test your program like this it runs fine.
↧