06-09-2024, 02:30 PM
(06-05-2024, 03:24 PM)valmeras Wrote: I am using C++ Builder 10.2.3 with Intraweb 15.6.1
I am trying to access a subfolder (myfolder) I created in wwwroot following this reference article:
https://docs.atozed.com/docs.dll/develop...20XIV.html
This for sure does not work as a relative path in C++ builder: "\\myfolder\\myfile.xml"
It is referring to C:\myfoler\myfile.xml
This one is close: "myfolder\\myfile.xml". But is referring to the application path were the .exe is running!
So, in C++ Builder, how can I use a relative path to access a file or subfolder located in wwwroot?
maybe its a bug in 15.6.1 ?
I use subfolder to store image files.
the absolut path is iE: p:\myproject\debug\wwwroot\img
and I use only "img" to read or write.
I use C-Builder 10.2.3 too, but IW 15.5.9.