Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Borland C++ 5.0 and readonly src files

Posted on 1997-03-26
6
Medium Priority
?
303 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:cdyoung
ID: 1162479
Adjusted points to 200
0
 

Accepted Solution

by:
markusk earned 400 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
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…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

877 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