Application Dies When Starting
If your application compiles and links without problems, but it then dies
during startup (you may or may not see the frame window start to come up)
then check for the following common mistakes:
- is more than one resource using the same number in your .RC or .DLG file?
- are you trying to allocate/create a resouce in your .CPP file -- say an
IPushButton -- when in reality it has been defined as something else in
your .RC or .DLG file?
- Bill Law (law@netscape.com) also says: The most common occurrence is that
your app is throwing an (uncaught) exception during construction of the
first (frame) window. This terminates silently, unless you take steps to
capture the exception information. To do that, follow the instructions
provided in the on-line VACPP FAQ (in the section "Coding With User
Interface Classes"->"Exceptions"->"Why Does My Program Just Exit").
[Editor's note: the VACPP FAQ is D:\IBMCPP\HELP\CPPFAQ.INF]
Page generated by Stéphane Charette on 1997 June 30
Open Class Library (OCL) FAQ © Stéphane Charette, 1997