here is a code snippet I use to check out a file from a VS2005 Addin. The problem is that no files are considered as under Source code control (bSCC is always false)
I use the Fortress Enhanced Client, is it why it fails ?
Is it expected to work ?
If not,is there a simple C++ way to check out a fortress file ?
Code: Select all
CComPtr<SourceControl> pSC;
VARIANT_BOOL bSCC;
if (SUCCEEDED (m_application->get_SourceControl (&pSC)))
CHECKHR (hr = pSC->IsItemUnderSCC (CComBSTR (strFullName), &bSCC));
Xavier