[comp.sys.apple] SFStatus

rbannon@cosmos.acs.calpoly.edu (Roy Bannon) (10/31/89)

Dave L, thanks for the help with taskDA, by using my own eventrec it worked
great.

The problem with the message is that type 3 was being used by the finder
also(i think).  The path of what ever windows were opened on the desktop
was in message 3 after you came back from an application.  I was storing
the color palette for the new background in message 3 so the finder was 
clobbering it.  I moved it to another number and it works fine.  My ques 
tion is does a list of message types that are being used exist and if so
where?

The next question I have is about SFStatus() under 5.0  I'm writing this nda
under TML Pascal II, and using resources.  I want to use Standard file, so
i do this
		if not(sfstatus) then begin
			stuff to load and start stard files
			flag = true
		end
		
		standard file calls
	
		if flag then begin
			stuff to shutdown and unload stard files
		end
the problem is that sfstatus never returns false.  From the finder, when I
try this, i get error $0002 (tool fcn not found) because standard file is not
started.  From TML, which starts sf, it works fine.  Can anyone out there 
reproduce this?  Is it a problem with tml pascal II or with sf?

The last problem is easy to describe, but I can't fingure it out.  With my
nda installed, the seconde time you try and launce a P8 application, it
crashes into monitor.  For example, launch shrinkit, quit, then launch
shrinkit again.  It then crashes into the monitor.  You can run other p16 or
gs/os apps in between and it will still crash the second time.  I know this
isn't a lot of info, but i can't see anything right off.  I don't start any
tools except resource manager.  I do a getcurresource,setresourceapp on entry
and exit from all my routines, dispose all in the shutdown.  I just can't see
what I doing wrong. 

The last thing is that if and when this ever works completely, I'll post it.
However, it does have a resource fork.  How can I squeeze and texify it for
posting to comp.binaries.apple2?  
Any and all help GREATLY appreceiated!

Roy
rbannon@cosmos.acs.calpoly.edu