🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools
Article #303

Re: Error 5 with Borland C++ and OWL

#303
From: Mark C. DiVecchio (K3FWT)
Date: Mon, 14 Sep 1992 22:52
30 lines
1814 bytes
In article <1992Sep13.065343.25286@silogic.uucp> markd@silogic.uucp (Mark C. DiVecchio (K3FWT)) writes:
>
>I am using Borland C++ and OWL. I wrote a simple program that puts
>up a dialog box when exiting. It runs fine when run from the Borland
>C++ for Windows environment.
>
>When I run it by double clicking on the program name using the
>File Manager, it won't put up the dialog box on exiting but rather
>gets a Error -5.
>
>It must have something to do with a DLL or something that Borland C++
>loads so its available to my program but when I run my program
>standalone its not there. Is it BWCC.DLL? If so how do I get it loaded.
>I can't find anything in the docs.

Some additional information garnered after more testing.

If I add bwcc.lib to the .prj file and relink, my dialog box comes up
fine.  If I don't have bwcc.lib in the .prj, my dialog box will not come
up but I get an error -5.  No other changes to the program itself.  Both
cases link without errors. 

BTW, the file BWCC.DLL is in the directory SYSTEM under the WINDOWS
directory along with many other DLL files. 

-- 
Mark DiVecchio, Silogic Systems, 619-549-9841                       K3FWT
-----   9888 Carroll Center Road, Suite 113, San Diego, CA 92126    -----
markd@silogic.uucp                             BBS 619-549-3927
...!ucsd!sdcrsi!silogic!markd     sdcrsi!silogic!markd@ucsd.edu
Technical Details
Message-ID: <1992Sep14.225252.12105@silogic.uucp>
Path: arc1-ca.pugleaf.net!sparky!uunet!timbuk.cray.com!equalizer!sdcrsi!silogic!markd
References: <1992Sep13.065343.25286@silogic.uucp>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.tools
Path: arc1-ca.pugleaf.net!sparky!uunet!timbuk.cray.com!equalizer!sdcrsi!silogic!markd
From: markd@silogic.uucp (Mark C. DiVecchio (K3FWT))
Subject: Re: Error 5 with Borland C++ and OWL
Message-ID: <1992Sep14.225252.12105@silogic.uucp>
Organization: Silogic Systems, San Diego, CA
References: <1992Sep13.065343.25286@silogic.uucp>
Date: Mon, 14 Sep 1992 22:52:52 GMT
Lines: 30