Re: C++ problem trying to use a certificate? Can - WeOnlyDo Discussion board

Re: C++ problem trying to use a certificate? Can (General questions)

by timster, Wednesday, January 11, 2006, 19:14 (6890 days ago) @ wodSupport

Hi Kreso,

Thanks.

FYI, removing the no_namespace flag did help get past the conflicting interfaces problem, but trying to compile this:

hr = m_Certificate->CreateInstance (CLSID_Certificate, NULL);

results in this:

error C2039: 'CreateInstance' : is not a member of 'ICertificate'
c:ftpdlxsamplesvcatlconsoleappdebugwodftpdlx.tlh(156) : see declaration of 'ICertificate'

Obviously I'm doing something wrong, but I'm not sure what.

Thanks,
Tim


Complete thread: