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