Solved

C.3 BORLAND AND FILE LONG NAMES

Posted on 1998-09-25
2
195 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
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.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

747 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

13 Experts available now in Live!

Get 1:1 Help Now