rps32513@uxa.cso.uiuc.edu (Ronald P. Smith) (06/05/91)
I'm completely stumped on an error I'm getting from an FSWrite call, so I'm posting this note in hope somebody can tell me what's going on. I'm calling FSWrite on a file which I created in the program, it has nothing in it (length of 0), the address I'm writing to is from a pointer, and the length I pass it (how many bytes to write) is about 40K. It used to return a disk full error after this call, then do strange things with the cursor and updating of the menu bars. Now, after moving the file to a much larger drive (the old one had about 5 megs free), it gives me a -50 (invalid parameter list) error. I have no idea what that means, and I can't see what could possibly be wrong. the pointer I pass is valid, as is the file reference (I did a SetFPos with it before), and the length I pass looks good also. If anyone can help, please mail me. --RS (rps32513@uxa.cso.uiuc.edu)