Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!zaphod.mps.ohio-state.edu!usc!apple!snorkelwacker!bloom-beacon!world!goodearl From: goodearl@world.std.com (Robert Goodearl) Newsgroups: comp.windows.ms Subject: Re: how to use "MessageBox()" ? Message-ID: <1990Aug21.005055.15320@world.std.com> Date: 21 Aug 90 00:50:55 GMT References: <6648@tekcrl.LABS.TEK.COM> <33006@cup.portal.com> <1378@metaphor.Metaphor.COM> Organization: The World Lines: 12 In article <1378@metaphor.Metaphor.COM> wang@nova.metaphor.com writes: >When I use "MessageBox()" within the modal dialog box (I did pass the dialog box >window handle to "MessageBox()"), the message dialog shows up but the system >hangs so that I have to reboot. What is wrong with it? Thanks for any advice. Try compiling with the -Zd option, producing a .sym file and running under the debug option. I would expect you to get a fatal exit there that should provide more information. (You will need a terminal on COM1, or to be running under codeview to get the fatal exit message.) -- Bob Goodearl -- goodearl@world.std.com