Click here to Skip to main content

C / C++ / MFC

 
AnswerRe: client server query PinmvpRichard MacCutchan5-Nov-12 4:19 
AnswerRe: client server query PinmvpCPallini5-Nov-12 11:47 
Questionhow to get drive list without using COM? PinmemberLe@rner5-Nov-12 0:15 
AnswerRe: how to get drive list without using COM? PinmemberSanthosh G_5-Nov-12 0:37 
GeneralRe: how to get drive list without using COM? PinmemberLe@rner5-Nov-12 0:41 
AnswerRe: how to get drive list without using COM? Pinmembersajeesh.c5-Nov-12 3:28 
QuestionRe: how to get drive list without using COM? PinmemberDavidCrow5-Nov-12 3:48 
Questioncoinitializesecurity failed with error code 800706ba ! PinmemberLe@rner4-Nov-12 18:33 
Hi all,

CoInitialize(NULL);
 
hres =  CoInitializeSecurity(
	    NULL, 
	    -1,                          // COM authentication
	    NULL,                        // Authentication services
	    NULL,                        // Reserved
	    RPC_C_AUTHN_LEVEL_DEFAULT,   // Default authentication 
	    RPC_C_IMP_LEVEL_IMPERSONATE, // Default Impersonation  
	    NULL,                        // Authentication info
	    EOAC_NONE,                   // Additional capabilities 
	    NULL                         // Reserved
	   );
	                  
	if (FAILED(hres))
	{	
                CString str=_T("");
		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

thanks...
AnswerRe: coinitializesecurity failed with error code 800706ba ! PinmemberJochen Arndt4-Nov-12 22:42 
AnswerRe: coinitializesecurity failed with error code 800706ba ! PinmvpRichard MacCutchan4-Nov-12 22:45 
GeneralRe: coinitializesecurity failed with error code 800706ba ! PinmemberLe@rner5-Nov-12 0:43 
GeneralRe: coinitializesecurity failed with error code 800706ba ! PinmvpRichard MacCutchan5-Nov-12 4:10 
QuestionWhy the CTreeCtrl disable[solved] [modified] Pingroupyu-jian4-Nov-12 5:59 
AnswerRe: Why the CTreeCtrl disable PinmvpRichard MacCutchan4-Nov-12 6:13 
GeneralRe: Why the CTreeCtrl disable Pingroupyu-jian4-Nov-12 16:28 
QuestionRe: Why the CTreeCtrl disable PinmemberDavidCrow4-Nov-12 17:18 
AnswerRe: Why the CTreeCtrl disable Pingroupyu-jian4-Nov-12 17:35 
GeneralRe: Why the CTreeCtrl disable PinmvpRichard MacCutchan4-Nov-12 22:22 
AnswerRe: Why the CTreeCtrl disable PinmemberAndrew Cherednik4-Nov-12 11:57 
AnswerRe: Why the CTreeCtrl disable Pinmembersajeesh.c4-Nov-12 20:42 
Questionhow can i set modem speed when i create rasdial entry. Pinmemberdolpari7013-Nov-12 23:03 
QuestionLock a file PinmemberIain Wiseman3-Nov-12 17:46 
AnswerRe: Lock a file PinmvpRichard MacCutchan3-Nov-12 22:25 
GeneralRe: Lock a file PinmemberIain Wiseman4-Nov-12 10:22 
GeneralRe: Lock a file PinmemberIain Wiseman4-Nov-12 11:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.150414.1 | Last Updated 19 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid