Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!husc6!rice!sun-spots-request From: bob@omni.com (Bob Weissman) Newsgroups: comp.sys.sun Subject: SunView-1 problems Keywords: Windows Message-ID: <781@brazos.Rice.edu> Date: 2 Aug 89 20:58:31 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 33 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 94, message 16 of 21 I'm having two problems with a SunView-1 application I'm developing under SunOS 4.0.1. 1. When I start it iconic with -Wi, I get the following error message on stderr: WIN ioctl number 20006703: Device busy The icon appears, and all is fine; I just want to get rid of this message. Can someone tell me what it means? I'm processing arguments with the call window_set(frame, FRAME_ARGC_PTR_ARGV, pargc, argv, 0); if that makes any difference. 2. I'm attempting to make my application portable between 680x0, Sparc, and i386 machines. I find no problem porting between Sun3's and 4's, but seem to have a problem on the 386i. When I pop up an Alert window with a single button (which is supposed to contain the string " OK "), the button which appears seems to have zero height. The code is: alert_prompt(frame, (Event *) 0, ALERT_MESSAGE_STRINGS, "blah blah", "etc. etc.", 0, ALERT_NO_BEEPING, TRUE, ALERT_BUTTON_YES, " OK ", 0); This code produces a correct button on Sun3's and 4's. Any ideas? Thanks very much, Bob Weissman Domainish: bob@omni.com UUCPish: ...!{amdahl,apple,pyramid,sgi,tekbspa,uunet}!koosh!bob