Click here to Skip to main content
14,771,489 members
Home » Discussions » ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: VS2010 CLR double to String, String to double MSVC/C++ methods? Pin
meace12347-Jan-12 20:27
Membermeace12347-Jan-12 20:27 
GeneralRe: VS2010 CLR double to String, String to double MSVC/C++ methods? Pin
Richard MacCutchan8-Jan-12 1:02
mveRichard MacCutchan8-Jan-12 1:02 
GeneralRe: VS2010 CLR double to String, String to double MSVC/C++ methods? Pin
rana ray15-Feb-12 21:03
Memberrana ray15-Feb-12 21:03 
GeneralRe: VS2010 CLR double to String, String to double MSVC/C++ methods? Pin
meace12347-Jan-12 18:57
Membermeace12347-Jan-12 18:57 
GeneralRe: VS2010 CLR double to String, String to double MSVC/C++ methods? Pin
meace123415-Jan-12 23:45
Membermeace123415-Jan-12 23:45 
QuestionWTL/ATL Pin
chithrakochu2-Jan-12 22:03
Memberchithrakochu2-Jan-12 22:03 
AnswerRe: WTL/ATL Pin
Pablo Aliskevicius16-Jan-12 5:17
MemberPablo Aliskevicius16-Jan-12 5:17 
Questionlisting Office contacts Pin
tasumisra26-Dec-11 1:30
Membertasumisra26-Dec-11 1:30 
Hi Guys,

i want to list and check the status of each contact of my Office Communicator

for this i have done till
1)i can see number of contact from get_count method
2)GetContact method is also successfully executed.

and done know how to move further..

any help is appriciated..

CoInitialize(NULL);
	HRESULT  hr = CoCreateInstance(CLSID_Messenger,NULL,CLSCTX_LOCAL_SERVER,
	IID_IMessenger, (LPVOID *)&m_pIMessenger);

	BSTR myName;
	MISTATUS sMyStatus;

 	//hr = m_pIMessenger->get_MyFriendlyName(&myName);
	hr=m_pIMessenger->get_MySigninName(&myName);
	hr = m_pIMessenger->get_MyStatus(&sMyStatus);

	BSTR serviceId;
	m_pIMessenger->get_MyServiceId(&serviceId);

	IDispatch *pContacts;
	IMessengerContacts *pCon;
	  BSTR bstrServiceId;

	      hr = m_pIMessenger->get_MyServiceId(&bstrServiceId);
		
	  if (FAILED(hr))
		 return NULL;

	

	  hr = m_pIMessenger->GetContact(myName, bstrServiceId, 
                                     (IDispatch**)&pCon);
	  </blockquote>

vikas da

AnswerRe: listing Office contacts Pin
Richard MacCutchan26-Dec-11 7:54
mveRichard MacCutchan26-Dec-11 7:54 
GeneralRe: listing Office contacts Pin
tasumisra26-Dec-11 22:28
Membertasumisra26-Dec-11 22:28 
GeneralRe: listing Office contacts Pin
Richard MacCutchan27-Dec-11 1:21
mveRichard MacCutchan27-Dec-11 1:21 
GeneralRe: listing Office contacts Pin
tasumisra27-Dec-11 1:45
Membertasumisra27-Dec-11 1:45 
GeneralRe: listing Office contacts Pin
Richard MacCutchan27-Dec-11 1:57
mveRichard MacCutchan27-Dec-11 1:57 
GeneralRe: listing Office contacts Pin
tasumisra27-Dec-11 4:18
Membertasumisra27-Dec-11 4:18 
GeneralRe: listing Office contacts Pin
Richard MacCutchan27-Dec-11 5:50
mveRichard MacCutchan27-Dec-11 5:50 
GeneralRe: listing Office contacts Pin
tasumisra27-Dec-11 6:44
Membertasumisra27-Dec-11 6:44 
Questionconverting CString to Char[100] Pin
KRISHNARAYALU19-Dec-11 23:30
MemberKRISHNARAYALU19-Dec-11 23:30 
AnswerRe: converting CString to Char[100] Pin
Albert Holguin20-Dec-11 5:56
professionalAlbert Holguin20-Dec-11 5:56 
GeneralRe: converting CString to Char[100] Pin
KRISHNARAYALU20-Dec-11 18:00
MemberKRISHNARAYALU20-Dec-11 18:00 
GeneralRe: converting CString to Char[100] Pin
Richard MacCutchan20-Dec-11 22:37
mveRichard MacCutchan20-Dec-11 22:37 
GeneralRe: converting CString to Char[100] Pin
Albert Holguin21-Dec-11 10:30
professionalAlbert Holguin21-Dec-11 10:30 
GeneralRe: converting CString to Char[100] Pin
Richard MacCutchan21-Dec-11 10:46
mveRichard MacCutchan21-Dec-11 10:46 
AnswerRe: converting CString to Char[100] Pin
stonexin20-Dec-11 19:18
Memberstonexin20-Dec-11 19:18 
GeneralRe: converting CString to Char[100] Pin
stonexin20-Dec-11 19:18
Memberstonexin20-Dec-11 19:18 
GeneralRe: converting CString to Char[100] Pin
jumancollion27-Dec-11 6:08
Memberjumancollion27-Dec-11 6:08 

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

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