Thanks for the feedback Jon. I actually just got that error myself. I'll have to look at a better way of doing the open code. Currently I open a new process to run the Mobi2Mobi exe converting the PRC file to a temp MOBI file, at the same time I pipe the output to a text file 'mobidata.m2m'. I have a thread sleep command after the initial process runs before I then read the first line of the text file to retrieve the Database Name. Its a bit of a cludge and sometimes the initial process doesn't close before the system trys to read the file.
Does it do it to you all the time or just the once so far? I'll see if I can find a better way of doing this other than increasing the thread sleep time.
|