🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.misc
Article #108

Re: WIN device busy creating iconic SunView window

#108
From: Bob Weissman
Date: Fri, 25 Aug 1989 19:56
25 lines
1703 bytes
In article <839@borabora.omni.com>, I wrote:
<In article <807@koosh.omni.com>, 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      <bob@omni.com>
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.
Technical Details
Message-ID: <844@borabora.omni.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!uakari.primate.wisc.edu!indri!ames!sgi!koosh!bob
References: <807@koosh.omni.com> <839@borabora.omni.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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