Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!rpi!netserv2!deven From: deven@rpi.edu (Deven T. Corzine) Newsgroups: comp.sys.amiga.tech Subject: Re: How do you send a DosPacket to a handler directly? Message-ID: Date: 8 Nov 90 23:02:48 GMT References: <1990Nov7.185224.4215@cbnewsc.att.com> Followup-To: comp.sys.amiga.tech Organization: Rensselaer Polytechnic Institute, Troy, NY Lines: 21 In-Reply-To: gregg@cbnewsc.att.com's message of 7 Nov 90 18:52:24 GMT On 7 Nov 90 18:52:24 GMT, gregg@cbnewsc.att.com (gregg.g.wonderly) said: gregg> The assignment of packet->dp_Arg1 = handle->fh_Args came from gregg> looking at the MSH handler. I do not know what is really gregg> required here. According to the AmigaDOS Technical Reference Manual, (yes, it exists, but is very hard to read and understand) dp_Arg1 should be the BPTR to the file handle. That is, that field should contain your return value from Open(). Apart from that, I don't know what may be wrong with your code without trying it... But the documentation says the file handle. (and remember, MSH is a handler; it's on the other end of the transaction.) Deven -- Deven T. Corzine Internet: deven@rpi.edu, shadow@pawl.rpi.edu Snail: 2214 12th St. Apt. 2, Troy, NY 12180 Phone: (518) 271-0750 Bitnet: deven@rpitsmts, userfxb6@rpitsmts UUCP: uunet!rpi!deven Simple things should be simple and complex things should be possible.