home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / mswindo / programm / misc / 1824 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  1.1 KB

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