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

  1. Path: sparky!uunet!dtix!darwin.sura.net!wupost!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!das-news.harvard.edu!endor!gordy
  2. From: gordy@endor.uucp (Robert Gordy)
  3. Newsgroups: comp.os.ms-windows.programmer.misc
  4. Subject: Re: Help needed with Borland C++ 3.1
  5. Message-ID: <1992Sep13.004900.29611@das.harvard.edu>
  6. Date: 13 Sep 92 00:49:00 GMT
  7. References: <1992Sep11.014350.1156@iti.gov.sg>
  8. Sender: usenet@das.harvard.edu (Network News)
  9. Organization: Aiken Computation Lab, Harvard University
  10. Lines: 25
  11.  
  12. In article <1992Sep11.014350.1156@iti.gov.sg> kevin@iti.gov.sg (Kevin Patt (SE)) writes:
  13. >Hi,
  14. >
  15. >    I am doing some Windows programming using BC++ 3.1 and I am facing some
  16. >problems with compiling the source into a Windows executable.  The situation
  17. >goes like this:
  18. >
  19. >    The application will run with no problem at all if I run it by making use
  20. >of the "RUN" menu item in BC++3.1.  The problem arises when I run it as a
  21. >stand-alone after compiling and I keep getting the error message "-5" everytime
  22. >I attempts to open any dialogs (those done using the Resource Workshop>. The
  23. >documentation says the error means "Window is invalid because Create did not
  24. >succeed".
  25. >
  26. >    Can anyone help me in this? Thanks!
  27.  
  28. Welcome to the wonderful world of Borland/Windows programming!
  29.  
  30. I believe that error comes from OWL actually (I assume you're 
  31. using the OWL library).  The usual reason is that you mistyped
  32. the name of a resource (perhaps a dialog box name or something)
  33. when creating the appropriate object.  My only advice is to
  34. check your names very carefully.
  35.  
  36. Rob Gordy
  37.