hres = CoInitializeSecurity(
-1, NULL, NULL, RPC_C_AUTHN_LEVEL_DEFAULT, RPC_C_IMP_LEVEL_IMPERSONATE, NULL, EOAC_NONE, NULL );
str.Format(_T("Failed to initialize security. Error code = %0x"),hres);
here coinitializesecurity failed with error code 800706ba.
please help how can i resolve this why this error comes