Hi everyone,
Has anyone figured out how to run a DOS program from within
MapBasic and
then successfully read a file created by the program using the
Register Table statement.
I am having constant problems with the DOS program not giving
up the file before the Register Table statement executes. I have tried using the
"set file timeout" statement without success.
I have also tried using a custom function (Wait) that I wrote
that accesses the system time and pauses the program execution. When this
function finishes, then the Register Table statement executes. Unfortunately,
the execution of the DOS program seems to be prolonged by the Wait function and
the file is still not available when the Register Table statement
executes.
Thanks very much in advance for any help.
