Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!ucsd!pacbell.com!decwrl!uunet!dg!dg-rtp.dg.com!bkahn From: bkahn@dg-rtp.dg.com (Bruce Kahn) Newsgroups: comp.sys.apple2 Subject: Re: Q: Orca/C and p2cstr() Keywords: C, Orca/C Message-ID: <1030@dg.dg.com> Date: 8 Oct 90 14:18:54 GMT References: <1020@dg.dg.com> <14026@smoke.BRL.MIL> Sender: root@dg.dg.com Reply-To: bkahn@dg-rtp.dg.com (Bruce Kahn) Organization: Data General Corporation, Research Triangle Park, NC Lines: 17 In article <14026@smoke.BRL.MIL>, gwyn@smoke.BRL.MIL (Doug Gwyn) writes: |> In article <1020@dg.dg.com> bkahn@archive.webo.dg.com (Bruce Kahn) writes: |> > fp = fopen(p2cstr(&replyPtr->filename,"wb")); |> |> Did you really include "wb" as a p2cstr() argument rather than an fopen() |> argument? If so, that's one of your problems. Typo on my part. The line SHOULD have read: fp = fopen(p2cstr(&replyPtr->filename),"wb"); Any other ideas?? -- Bruce (bkahn@archive.webo.dg.com or kahn@adam.dg.com) Standard disclaimers apply, except where prohibited by law...