home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / mswindo / programm / tools / 956 < prev    next >
Encoding:
Text File  |  1992-09-14  |  1.7 KB  |  41 lines

  1. Newsgroups: comp.os.ms-windows.programmer.tools
  2. Path: sparky!uunet!timbuk.cray.com!equalizer!sdcrsi!silogic!markd
  3. From: markd@silogic.uucp (Mark C. DiVecchio (K3FWT))
  4. Subject: Re: Error 5 with Borland C++ and OWL
  5. Message-ID: <1992Sep14.225252.12105@silogic.uucp>
  6. Organization: Silogic Systems, San Diego, CA
  7. References: <1992Sep13.065343.25286@silogic.uucp>
  8. Date: Mon, 14 Sep 1992 22:52:52 GMT
  9. Lines: 30
  10.  
  11. In article <1992Sep13.065343.25286@silogic.uucp> markd@silogic.uucp (Mark C. DiVecchio (K3FWT)) writes:
  12. >
  13. >I am using Borland C++ and OWL. I wrote a simple program that puts
  14. >up a dialog box when exiting. It runs fine when run from the Borland
  15. >C++ for Windows environment.
  16. >
  17. >When I run it by double clicking on the program name using the
  18. >File Manager, it won't put up the dialog box on exiting but rather
  19. >gets a Error -5.
  20. >
  21. >It must have something to do with a DLL or something that Borland C++
  22. >loads so its available to my program but when I run my program
  23. >standalone its not there. Is it BWCC.DLL? If so how do I get it loaded.
  24. >I can't find anything in the docs.
  25.  
  26. Some additional information garnered after more testing.
  27.  
  28. If I add bwcc.lib to the .prj file and relink, my dialog box comes up
  29. fine.  If I don't have bwcc.lib in the .prj, my dialog box will not come
  30. up but I get an error -5.  No other changes to the program itself.  Both
  31. cases link without errors. 
  32.  
  33. BTW, the file BWCC.DLL is in the directory SYSTEM under the WINDOWS
  34. directory along with many other DLL files. 
  35.  
  36. -- 
  37. Mark DiVecchio, Silogic Systems, 619-549-9841                       K3FWT
  38. -----   9888 Carroll Center Road, Suite 113, San Diego, CA 92126    -----
  39. markd@silogic.uucp                             BBS 619-549-3927
  40. ...!ucsd!sdcrsi!silogic!markd     sdcrsi!silogic!markd@ucsd.edu
  41.