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

  1. Path: sparky!uunet!tcsi.com!iat.holonet.net!news!usc!cs.utexas.edu!sun-barr!olivea!mintaka.lcs.mit.edu!bloom-picayune.mit.edu!yev_g
  2. From: yev_g@athena.mit.edu (Yevgeny Gurevich)
  3. Newsgroups: comp.os.ms-windows.programmer.tools
  4. Subject: Re: Error 5 with Borland C++ and OWL
  5. Message-ID: <1992Sep14.143420.20033@athena.mit.edu>
  6. Date: 14 Sep 92 14:34:20 GMT
  7. References: <1992Sep13.065343.25286@silogic.uucp>
  8. Sender: news@athena.mit.edu (News system)
  9. Organization: Massachusetts Institute of Technology
  10. Lines: 27
  11. Nntp-Posting-Host: m4-035-14.mit.edu
  12.  
  13. In article <1992Sep13.065343.25286@silogic.uucp> markd@silogic.uucp (Mark C. DiVecchio (K3FWT)) writes:
  14. >
  15. >I am using Borland C++ and OWL. I wrote a simple program that puts
  16. >up a dialog box when exiting. It runs fine when run from the Borland
  17. >C++ environment.
  18. >
  19. >When I run it by double clicking on the program name using the
  20. >File Manager, it won't put up the dialog box on exiting but rather
  21. >gets a Error 5.
  22. >
  23.  
  24. You're right in thinking that your application needs to access
  25. BWCC.DLL.  Since the compiler uses the custom control DLL, it loads it
  26. when you enter the development environment and running your
  27. application within it is no problem.  To ensure that BWCC.DLL is
  28. loaded by your application, read the on-line documentation within the
  29. OWL directory.  I, too, was surprised that there was no mention of
  30. this within the printed documentation.
  31.  
  32. Basically, you are looking for references on forcing the loading of
  33. the BWCC.DLL, by making a simple call to one of its functions, and the
  34. need to link in the BWCC library when you compile your application.
  35. The references are in two places within the documentation.  For speed,
  36. just GREP "BWCC" the doc files.
  37. -- 
  38. yev_g@athena.mit.edu
  39. 500 Memorial Drive, Cambridge, MA.  [ Yevgeny Gurevich ]
  40.