Re: VC++ Tips & Tricks To change attributes for a directory if (! SetFileAttributes("c:\\ResOrg",FILE_ATTRIBUTE_READ ONLY))
{
DWORD dwError = GetLastError();
} ................
thanks 
__________________ Karpagarajan. R Necessity is the mother of invention |