This has been discussed here in 2014: https://community.microfocus.com/microfocus/cobol/visual_cobol/f/forum/13102/setting-environment-variables-prior-to-build
Is there a better way now? We have PRINTER REDIRECTION=TRUE in a config text file pointed to by MF's cobcofig_ environment variable which we have to set on all client machines. Is there a better way, direct from the code? I'm looking for a global solution without changing our old print programs. MY ENVIRONMENT: Visual Studio 2015; Latest Visual COBOL V3; Windows clients running our application .exe with COBOL SERVER V3.
I tried ticking, 'use variables when building the project' under, Project properties---Application---[environment...] but no joy. Maybe that just refers to the build process itself?