Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uunet!stanford.edu!TAHITI.LANL.GOV!larson From: larson@TAHITI.LANL.GOV (Ted Larson) Newsgroups: comp.windows.interviews Subject: (none) Message-ID: <9106262259.AA11621@tahiti.lanl.gov> Date: 26 Jun 91 22:59:59 GMT Sender: news@shelby.stanford.edu (USENET News System) Organization: Internet-USENET Gateway at Stanford University Lines: 37 In just trying to get a small test program to work, I ran into an interesting problem. Why is it that the following program gives a syntax error when using the 3.0 glue header file and not the 2.6 glue header file? I have noticed this problem also exists when using Boxes as well. I think it is because the class heirarchy is different due to the 3.0 using Glyphs and 2.6 using Interactors as the superclass. Can anyone enlighten me on how to make this work and why? - Ted larson@lanl.gov ---------------------------------------------------------------------- #include #include #include #include static PropertyData properties[] = { {nil} }; static OptionDesc options[] = { { nil } }; void main(int argc, char** argv) { World* world = new World("****", argc, argv, options, properties); Message* foxmessage = new Message("The quick brown fox...", Center, 20, 50, 50); VGlue* vg = new VGlue( 3,0,0); ShadowFrame* sf = new ShadowFrame(foxmessage); world->Insert(sf); world->Run(); }