[Migrated content. Thread originally posted on 10 August 2006]
Hi,Currently I have a DLL which calls the getcommandline function and returns the whole command line. I use this to scan the command line to find out where the configuration file and error output files are located. I use this information to send via Email when the application fails.
However, I am now trying this using thinclient, and while I can create a similar command line from the windows shortcut, the windows getcommandline is only returning the value upto the end of the server-name, nothing else after that.
The Acucobol Doco makes reference to and external array called Acmd_line, whta is this and how do you access it and does it contain the FULL command line as opposed to what ACCEPT FROM COMMAND-LINE gives you?
Is there another way of obtaining the path/name of the error/config files from the runtime/thinclient or do we have to try and interrogate the command line?
Another option is to try and set a number of configuration file entries to emulate where these files are and what there names are.
Any suggestions would be great
thanks



