Maurice
2008-03-22 08:24:52 UTC
Hello:
I would like to use "DirectoryExists" and "CreateDir", I used the bcb5.hlp,
it say to include "Filectrl.hpp", but such a file is not included in the
free version 5.5.
What's the problem? is there any other alternative?
Thanks
Maurice
#include "Filectrl.hpp"
void main()
{
if(!DirectoryExists("c:\\tmp"))
CreateDir("c:\\tmp");
}
Error E2209 e:\my_data\prog\tc\test.cpp 1: Unable to open include file
'Filectr.hpp'
Error E2268 e:\my_data\prog\tc\test.cpp 5: Call to undefined function
'Directory
Exists' in function main()
Error E2268 e:\my_data\prog\tc\test.cpp 6: Call to undefined function
'CreateDir
' in function main()
*** 3 errors in Compile ***
I would like to use "DirectoryExists" and "CreateDir", I used the bcb5.hlp,
it say to include "Filectrl.hpp", but such a file is not included in the
free version 5.5.
What's the problem? is there any other alternative?
Thanks
Maurice
#include "Filectrl.hpp"
void main()
{
if(!DirectoryExists("c:\\tmp"))
CreateDir("c:\\tmp");
}
Error E2209 e:\my_data\prog\tc\test.cpp 1: Unable to open include file
'Filectr.hpp'
Error E2268 e:\my_data\prog\tc\test.cpp 5: Call to undefined function
'Directory
Exists' in function main()
Error E2268 e:\my_data\prog\tc\test.cpp 6: Call to undefined function
'CreateDir
' in function main()
*** 3 errors in Compile ***