home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!darwin.sura.net!haven.umd.edu!mimsy!prometheus!media!hqda-ai!grant
- From: grant@pentagon-gw.army.mil (Pete Grant)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: Re: Error Code -5
- Message-ID: <1992Sep12.170655.2648@pentagon-gw.army.mil>
- Date: 12 Sep 92 17:06:55 GMT
- References: <UedWMNq00UhWA2T31y@andrew.cmu.edu>
- Organization: U.S. Army Artificial Intelligence Center, The Pentagon
- Lines: 20
-
- In article <UedWMNq00UhWA2T31y@andrew.cmu.edu> dh4h+@andrew.cmu.edu (David A Hanekamp) writes:
- >I'm getting a dialog box that pops up and says "Error code = -5 Ok to
- >proceed", whenever I try to bring up one of my dialog boxes in BC++ 3.1.
- > Does anyone know what causes this?
- >
- There are three common reasons:
-
- 1. Your dialog ID number is not the same in your program as in your
- resource file.
-
- 2. ID number discrepancy in one of the controls within that dialog.
-
- 3. One or more of the controls are being incorrectly initialized.
-
- Keep looking at your code and check everything. Error code -5 means that
- the system was unable to create the dialog as requested.
-
- Good luck.
-
- Pete
-