Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!mp.cs.niu.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!rps32513 From: rps32513@uxa.cso.uiuc.edu (Ronald P. Smith) Newsgroups: comp.sys.mac.programmer Subject: FSWrite problem Message-ID: <1991Jun4.215352.5461@ux1.cso.uiuc.edu> Date: 4 Jun 91 21:53:52 GMT Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 15 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)