Solved

C.3 BORLAND AND FILE LONG NAMES

Posted on 1998-09-25
2
196 Views
Last Modified: 2012-05-04
I develop under C3°° 1992 of Borland. Don't ask why. I know it, It runs faster than later version under Win/Dos and is perfectly compatible with Version 5.. but is easier to port around. Now I have a problem: the long file names. I tried a few parameter changes, etc.. I know there is a soure code of the functions fopen, mkdir, etc... I need where I could probably modify the size of the file name filed. Or is there another possibility.  Thx for the help.
0
Comment
Question by:toulon
2 Comments
 
LVL 11

Accepted Solution

by:
mouatts earned 100 total points
ID: 1253061
You could try replaing the libraries with more modern ones thus you would not need to change the code. I'm a little doubtful about modifing the code because I don't think it is quite as simple as storing a longer string.

I've not looked into how the long file names are stored but I seem to recall the support for the truncated filesname (eg myfilen~.xxx ) requires some skulduggary.

Steve
0
 

Author Comment

by:toulon
ID: 1253062
I cetainly need to change libraries and includes files where files
related functions are dealt with. Either in modifyng the code or
in finding new ones acceptable by BC3++. I need to be told
from experience how to do it. Even C5 deals with DOS with
short names as far as I realise.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now