PDA

View Full Version : SECFileSystem has no CopyFile ?



vincent
08-04-2009, 06:39 AM
Hello,

I'm trying to compile an application in Visual Studio 2008, and it is using the SECFileSystem's CopyFile function. However, when compiling it claims that SECFileSystem has no member 'CopyFile'. However, when I browse to the declaration it is clearly there. Also the code-completion has no trouble finding the member function.



CALPath oPath(csFilename);
CString csCopyFile;
csCopyFile.Format(_T("%s%s.copy"),m_csBaseDirectory,oPath.GetFilename());
SECFileSystem fs;
fs.CopyFile(csFilename, csCopyFile);

Stangly enough, I can invoke any other member... :S

Anyone any idea what might cause this? Thanks!