Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hpfcso!hpfinote!pnl From: pnl@hpfinote.HP.COM (Peter Lim) Newsgroups: comp.windows.ms Subject: Re: C++ handle on Zortech and Glockenspiel Message-ID: <18950027@hpfinote.HP.COM> Date: 17 Sep 90 21:12:27 GMT References: <13703@hydra.gatech.EDU> Organization: Hewlett Packard CICD Lines: 34 > > 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. > Well, I supposed you can hardly blame Zortech for this since it boils down to using "unexported" resource. And we all know that Windows gets totally confused in such situation. Okay, may be blame it on Microsoft's linker if you must blame somebody :-). Once compilation is done, everything is handed off to the linker and there is nothing the compiler can do beyond that point. > Edit your .rc file and you'll be doing OK. > > I reported this bug to Zortech. > Thanks ! So, that's why my version of ZTC++'s Windows example worked fine :-). Regards, ## Life is fast enough as it is ........ Peter Lim. ## .... DON'T PUSH IT !! >>>-------, ########################################### : E-mail: plim@hpsgwg.HP.COM Snail-mail: Hewlett Packard Singapore, : Tel: (065)-279-2289 (ICDS, ICS) | Telnet: 520-2289 1150 Depot Road, __\@/__ ... also at: pnl@hpfipnl.HP.COM Singapore 0410. SPLAT ! #include