|
FORUM MESSAGE
|
|
You are reading a General forum message.
Re: A exception when using TDBImage
Author: Israel Luengo
Date Posted: 2006-03-08 10:46:35
In addition to this subject, the C++ Builder have some "particular" things about paths
For example, if you modify, in design mode a property that needs a path...you can use .\ for local directory where the applications runs, avoid using ALIASES , this is :
TTable->Database = ".\" ; //This assignment, use the local directory as "starting point" for database location.
In some cases, we need use Ansistring converted strings to C standard strings...then when we want create a path as for example:
AnsiString = ".\\MUSIC\\Track01.mp3" ; //this assignment NEED the double backslash for scaping the \ character...
And finally, in Options of Project, we can define the creation, temporary and destination folders as for example:
.
.\
-
That allows store the C++ builder project in the same folder that have the c++ source file
REPLY TO THIS MESSAGE?
Top
You can post a reply to this General message using the form below:
|
|