Article View: comp.sys.amiga.tech
Article #11847Re: Testing for disk (Lock?)
From: Colin Plumb
Date: Thu, 16 Mar 1989 03:04
Date: Thu, 16 Mar 1989 03:04
13 lines
979 bytes
979 bytes
bill@wfhami.UUCP (Bill Hogsett) wrote: > Is there a way to check for the existence of a device or directory and > not have a requestor if the check fails? This is, I belive, in the "common questions" posting. If you set your process's pr_WindowPtr to -1, Dos errors will not put up a requester, but simply return an error code. By default it's 0, meaning workbench screen, but you can also point it to a window, and error requesters will pop up in that window's screen. -- -Colin (uunet!microsoft!w-colinp) "Don't listen to me. I never do." - The Doctor
Technical Details
Message-ID:
<12348@microsoft.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-winken!uunet!microsoft!w-colinpReferences:
<0422.AA0422@wfhami>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-winken!uunet!microsoft!w-colinp From: w-colinp@microsoft.UUCP (Colin Plumb) Newsgroups: comp.sys.amiga.tech Subject: Re: Testing for disk (Lock?) Message-ID: <12348@microsoft.UUCP> Date: 16 Mar 89 03:04:35 GMT References: <0422.AA0422@wfhami> Reply-To: w-colinp@microsoft.uucp (Colin Plumb) Organization: very little Lines: 13