🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #13975

Redirecting DOS requesters

#13975
From: griffin
Date: Mon, 12 Feb 1990 20:59
22 lines
1161 bytes
I cannot seem to redirect DOS requesters to my custom screen -- they
still pop up in the workbench screen causing me to have to LAmiga-N/M
to get back to my program's screen.  Here is what I am doing...

#include "libraries/dosextens.h"
APTR temp;
struct Process *mproc;

main()
{
...
    mproc = (struct Process *)FindTask(0L);
    temp = mproc->pr_WindowPtr;
    mproc->pr_WindowPtr = (APTR)window;

Yes, 'window' is my opened window here.  This is straight from Bryce
Nesbitt's article in Transactor 1.1.  I can't seem to make heads nor
tails of the AmigaDOS Tech Reference Manual on this.  Any help will
be GREATLY appreciated.  Thanks!
    
Dan Griffin
griffin@frith.egr.msu.edu		"We're waiting for Godot..."
Technical Details
Message-ID: <6426@cps3xx.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!psuvax1!rutgers!netnews.upenn.edu!cps3xx!griffin

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!psuvax1!rutgers!netnews.upenn.edu!cps3xx!griffin
From: griffin@frith.egr.msu.edu
Newsgroups: comp.sys.amiga.tech
Subject: Redirecting DOS requesters
Message-ID: <6426@cps3xx.UUCP>
Date: 12 Feb 90 20:59:05 GMT
Sender: usenet@cps3xx.UUCP
Reply-To: griffin@frith.egr.msu.edu ()
Organization: Michigan State University, College of Engineering
Lines: 22