//---------------------------------------------------------------------------
USELIB("..\Lib\Release\vclx40.lib");
//---------------------------------------------------------------------------
#pragma argsused
int main(int argc, char* argv[])
{
DirectoryExists ( "Boza" );
return 0;
}
Mikhael FITOUSSI wrote:
> I want to use DirectoryExists in a console application
--
Boian Mitov
> #include <FileCtrl.hpp>
> when I compile the project without runtime packages I recieve a linker error
> (it doesn't find DirectoryExists in any obj...)
Try linking the corresponding obj...
#pragma link "FileCtrl"
Good luck!
--------------------------------------
Damon Chandler
http://bcbcaq.freeservers.com
Answers to <Commonly Asked Questions>
USELIB("..\Lib\Release\vclx40.lib");
Take care
Boian
P.S. Great work Damon. I am really impressed. I am copying most of your code
samples into a word document for my own usage. They are great samples. Keep it up.
Damon Chandler wrote:
--
Boian Mitov