Pascal

Moderators: None (Apply to moderate this forum)
Number of threads: 4106
Number of posts: 14016

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Extended file names Posted by delljohnb on 29 Sept 2003 at 8:33 AM
I'm having a little difficulty accessing extended file names. I'm using TP 5.5, and I'm getting errors out the ying-yang while trying to create and write to a file that uses the extended file name convention. I think I'm going to scrap what I have and start from the beginning on this part of the program. Any suggestions on a way to insure extended file names will be acceptable to the compiler and the program also not generate runtime errors? Thank's in advance....

Delljohnb


(GRRRR....frustrating....)
Report
Re: Extended file names Posted by zibadian on 29 Sept 2003 at 12:23 PM
: I'm having a little difficulty accessing extended file names. I'm using TP 5.5, and I'm getting errors out the ying-yang while trying to create and write to a file that uses the extended file name convention. I think I'm going to scrap what I have and start from the beginning on this part of the program. Any suggestions on a way to insure extended file names will be acceptable to the compiler and the program also not generate runtime errors? Thank's in advance....
:
: Delljohnb
:
:
: (GRRRR....frustrating....)
:
TP 5.5 can only handle filenames the old DOS way (8.3). The only thing you can do is validate the user-entered filenames, and save them using the short path names.
If you want to include long filenames, you'll need to change to a 32-bit Pascal compiler such as FreePascal.
Report
Re: Extended file names : drat Posted by delljohnb on 30 Sept 2003 at 5:58 AM
: : I'm having a little difficulty accessing extended file names. I'm using TP 5.5, and I'm getting errors out the ying-yang while trying to create and write to a file that uses the extended file name convention. I think I'm going to scrap what I have and start from the beginning on this part of the program. Any suggestions on a way to insure extended file names will be acceptable to the compiler and the program also not generate runtime errors? Thank's in advance....
: :
: : Delljohnb
: :
: :
: : (GRRRR....frustrating....)
: :
: TP 5.5 can only handle filenames the old DOS way (8.3). The only thing you can do is validate the user-entered filenames, and save them using the short path names.
: If you want to include long filenames, you'll need to change to a 32-bit Pascal compiler such as FreePascal.
:
Drats.....oh well. Yeah, I think that the LFNsupport() function should do it. I'm more familiar with TP and I guess I was just hoping that I had forgotten a dirty little trick or something. All my internal code is clear and works fine, but there will be a small amount of user input, so I'm trying to make the program very robust, and I came upon the possibility that long format names might be used. Ah.....the old days......when users actually knew how computers worked....LOL. Thanks for the responce.

Delljohnb





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.