Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

C.3 BORLAND AND FILE LONG NAMES

Posted on 1998-09-25
2
Medium Priority
?
202 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 11

Accepted Solution

by:
mouatts earned 200 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

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!

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…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

670 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