Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!eru!hagbard!sunic!mcsun!hp4nl!ruuinf!prisma!karel From: karel@prisma.cv.ruu.nl (Karel Zuiderveld) Newsgroups: comp.windows.ms Subject: Re: Zortech Message-ID: Date: 16 Sep 90 10:15:00 GMT References: <13703@hydra.gatech.EDU> Organization: University of Utrecht, 3D Computer Vision The Netherlands Lines: 29 In <13703@hydra.gatech.EDU> gt3070b@prism.gatech.EDU (Jeff Watkins) writes: >I recently purchased the zortech c++ compiler version 2.1. >I did so due to previous posts that it could generate windows apps. >I tried compiling the sample application that comes with ztc, with no luck. >The app does not even create a main window when it launches... > I had the same problem; after some digging in their source code I found a small, but crucial error. At a certain point a menu is loaded with the statement Wm1 = new WMenu(TopWin,"menudef"); // (or something) Looking at the .RC file, only a MenuDef is defined. Since loading the menu turns out to be case sensitive, the menu is not found. The error handling Zortech implemented was not very elegant: it gives a fatal error and the screen may freeze. Edit your .rc file and you'll be doing OK. I reported this bug to Zortech. Karel -- Karel Zuiderveld E-mail: karel@cv.ruu.nl 3D Computer Vision - Room E.02.222 Tel: (31-30) 506682/507772 Academisch Ziekenhuis Utrecht Fax: (31-30) 513399 Heidelberglaan 100, 3584 CX Utrecht, The Netherlands