General information
Title:
How to read files on disk with the same name as in the APP
Environment versions
Network:
Windows 2003 Server
Hi,
In my APP there are several files included. This is a kind of a file manager application.
Now my problem is, if the user wants to read/write a file that is included in the project/APP but also exists on disk. For example there is a logo.jpg in the APP and there is a c:\somewhere\logo.jpg on disk.
The point is, how-to read a file on DISK that has the same name as a file included in the APP.
I already made a work-around for file() with sys(2000), strtofile works fine, but I still cannot read the file on disk back. filetostr() and the low-level (fopen, fread) functions return the contents of the included file.
please help
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only