error LNK2001: unresolved external symbol for _CLSID_CCertRequest & _IID_ICertRequest2
I am trying to create certificate using PKCS # 10 certificate format. Certificate request goes to CA and CA will return back the certificate to device application. I have got code from net, which i have attached. But i was unable to compile that code and it displays following error
error LNK2001: unresolved external symbol _CLSID_CCertRequest
error LNK2001: unresolved external symbol _IID_ICertRequest2
Anybody has idea to resolve this error.