[comp.sys.amiga.tech] Redirecting DOS requesters

griffin@frith.egr.msu.edu (02/13/90)

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..."