Solved

C.3 BORLAND AND FILE LONG NAMES

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files 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.

776 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