Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!shadooby!ginosko!gem.mps.ohio-state.edu!usc!ucsd!ucbvax!hplabs!hpfcso!hpfcmgw!chan From: chan@hpfcmgw.HP.COM (Chan Benson) Newsgroups: comp.sys.hp Subject: Re: Problems with starbase/X. Message-ID: <1080087@hpfcmgw.HP.COM> Date: 11 Oct 89 15:45:10 GMT References: <1989Oct5.224247.26353@isy.liu.se> Organization: HP Fort Collins, CO Lines: 21 > Dear netland, > we are using X windows and try to use starbase on a window but run into > severe problems: > Why do the starbase call gopen() in, seemingly, randomness sometimes fail, > sometimes succeed when used with X-windows? > Our call is > gopen(device_string, OUTDEV, "hp98550") > and the program is linked with -ldd98550. > The error message is > "starbase error 3: device kind is not supported for the specified > device" > > But the call works beautiful sometimes ?? I don't know know for sure, but gopen takes four arguments, not just three (the fourth one being mode). I suspect that on the times that it fails there is junk on the stack that is an invalid mode for your device. -- Chan Benson HP Fort Collins