Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!exodus!frisbee.Eng.Sun.COM!jcb From: jcb@frisbee.Eng.Sun.COM (Jim Becker) Newsgroups: comp.windows.x Subject: Re: SunView and XView code possible in same process? Keywords: SunView XView Message-ID: <5600@exodus.Eng.Sun.COM> Date: 10 Jan 91 00:01:32 GMT References: <182@talarian.UUCP> Sender: news@exodus.Eng.Sun.COM Lines: 29 scott@talarian.UUCP (Scott Weitzenkamp) writes: Can anyone out there think of any way to get a SunView and XView interface in the same executable? An interesting proposition, for sure. One thing that you might have problems with is global variables that are shared between both SunView and XView. Although I don't know for a fact there will be problems, since XView is effectively the next generation of SunView (from the same source base way back when) there are potential conflicts in terms of global data being of the same names between the two. We cleaned up and changed many of the names within XView, but there could be something in there that would bite you. My recommendation is to replace your main code with either a shell script that starts up the correct program or a true program that forks the correct child. This would always work correctly, and not have builtin headaches. -Jim Becker XView Group -- -- Jim Becker / jcb%frisbee@sun.com / Sun Microsystems