Thank you. I did as you wrote.

I rebuild the program with the Output type=Console. Now I have the message : "Load error C:\windows\system32\cblviom.dll".

I searched in the C:\Program Files (x86)\Micro Focus\Visual COBOL\bin folder and found cblviom.dll. I copied in windows\system32\, I rebooted the system and tried to run the program. The message remained the same (Load error.....).

I don't get why ?

  • Are you trying to run this from within the IDE or outside of the IDE?

    If you are running it from outside of the IDE then you should be running it from a Visual COBOL command prompt so that the environment is setup to point to where the run-time files are located.

    Go to All Programs-->Micro Focus Visual COBOL for Visual Studio-->Tools and open up a 32-bit Visual COBOL command prompt. Go to your program directory and run the application again.

  • I also suggest removing cblviom.dll or any other Visual COBOL runtime files from C:\Windows\System32 and running the application from the Visual COBOL Command Prompt as Former Member suggested above.