Solved

C.3 BORLAND AND FILE LONG NAMES

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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
The goal of this video is to provide viewers with basic examples to understand and use structures 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.

635 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