Error 203 with kernel32.dll when creating a file
I am trying to use kernel32.dll to create a file into which I can write some results from a MET/CAL Procedure. MET/CAL cannot create or delete files inherently so I am trying to use the kernel32,dll to accomplish this task, then using MATH FSC function REPLACE to write the data to the file.
The system could not find the environment option that was entered.
- 203 (0xCB)
It does this for other functions as well, such as "copyfile" and "deletefile". I can use kernel32.dll for functions "getcomputername", "beep", "getlocaltime", etc. just fine, but anything involving files fails. Can anyone provide me with example code for creating files in MET/CAL using kernel32.dll?
Please sign in to leave a comment.