Solved

Borland C++ 5.0 and readonly src files

Posted on 1997-03-26
6
280 Views
Last Modified: 2010-04-10
In the Borland IDE the compiler says it can't open my source files.  This occurs when they reside in readonly form, which is part of a configuration control system.  Why would the compiler need anything but read access to the source files?  By the way, if I double click on a source file in the project window it brings it up fine in the editor!  Is this a bug?  Is there a way to work around this?
0
Comment
Question by:cdyoung
  • 4
6 Comments
 

Author Comment

by:cdyoung
ID: 1162476
Adjusted points to 100
0
 
LVL 1

Expert Comment

by:white wolf
ID: 1162477
I think you found a neat bug...
Why don't you email the Borland guys and take
credit for the find!

0
 

Author Comment

by:cdyoung
ID: 1162478
Thanks for the suggestion, white wolf.  I have already reported this to Borland.  I don't really care about credit, I just want it to work!
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

Author Comment

by:cdyoung
ID: 1162479
Adjusted points to 200
0
 

Accepted Solution

by:
markusk earned 200 total points
ID: 1162480
I'm using Borland C++ 5.01 and I tried to reproduce the error.

- I marked my source files (*.cpp) as readonly
- I opened them and compiled them without any error message

You should apply all patches available under "http://www.borland.com/devsupport/borlandcpp/patches.html", or upgrade to BC 5.01.
0
 

Author Comment

by:cdyoung
ID: 1162481
Thanks for the suggestion markusk, but I am using BC 5.01.  I should have mentioned this.  I should also have mentioned that the readonly files are on a unix server that I am accessing like a local drive via NT.  Perhaps BC++ is having a problem with this networked drive and it is not a readonly problem at all.  I will check into this and get back with you.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

827 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question