Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!uakari.primate.wisc.edu!indri!ames!sgi!koosh!bob From: bob@omni.com (Bob Weissman) Newsgroups: comp.windows.misc Subject: Re: WIN device busy creating iconic SunView window Summary: It's documented after all Keywords: SunView, windows Message-ID: <844@borabora.omni.com> Date: 25 Aug 89 19:56:26 GMT References: <807@koosh.omni.com> <839@borabora.omni.com> Organization: OMNI Solutions, Mountain View, CA Lines: 25 In article <839@borabora.omni.com>, I wrote: , I wrote: < <> I'm writing a program which creates a window in SunView1 (on a 4/110 <> running SunOS 4.0.3, if that matters). Everything works fine, except that <> if I start the window iconic with -Wi, I always get <> WIN ioctl number 20006703: Device busy <> and then the icon appears perfectly and everything is fine. <> <> I've read all the documentation (over and over and over...) and can not <> for the life of me figure out how to get rid of this message. > It turns out that you must specify the FRAME_ARGC_PTR_ARGV parameter in > the initial call to window_create(). If you specify it in a subsequent > call to window_set(), you get the "device busy" message. Sigh. This is documented on page 382 of the SunView1 Programmer's Guide. If only window_set() was smart enough to complain about invalid arguments, I would have fixed this in ten seconds... -- Bob Weissman UUCP: ...!{amdahl,apple,pyramid,sgi,tekbspa,uunet}!koosh!bob Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.