Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!uwvax!oddjob!hao!ames!ucbcad!ucbvax!CZHRZU1A.BITNET!K538915 From: K538915@CZHRZU1A.BITNET.UUCP Newsgroups: comp.sys.atari.st Subject: Problem with userdefined desktop (and bug in K-Resource v1.0) Message-ID: <8705051510.AA07137@ucbvax.Berkeley.EDU> Date: Tue, 5-May-87 12:46:38 EDT Article-I.D.: ucbvax.8705051510.AA07137 Posted: Tue May 5 12:46:38 1987 Date-Received: Thu, 7-May-87 02:10:52 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 16 While working on my latest program, I had a tiny bit of trouble with the call windset(0,WFNEWDESK,tree,0,0) call described in Tim Oren's PRO-GEM and Abacus ST-Internals book. Now and then a program would just suddenly bomb out (NOT the program I was working on), then I relised what was even after a appl_exit and rsrc_free, AES was still trying to the draw the desktop with the (non-existant) object tree. This will only be noticeable if you start the program from a shell and not from the desktop, as the desktop (as the name says:-)) uses it own desktop..... The solution is to do a windset(0,WFNEWDESK,0,0,0,0) (I didn't find this documented anywhere!) call before stoping the program, this will restore the default grey desktop. A wide spread program that has this bug is K-Resource v1.0, so DON'T use it from a shell! Simon Poole K538915@CZHRZU1A.BITNET