Click here to Skip to main content
15,903,175 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Serial Port Pin
Susanmat10-Nov-06 0:48
Susanmat10-Nov-06 0:48 
QuestionPath for ATL COM Application Pin
kiranin9-Nov-06 17:22
kiranin9-Nov-06 17:22 
QuestionRe: Path for ATL COM Application Pin
prasad_som9-Nov-06 22:01
prasad_som9-Nov-06 22:01 
AnswerRe: Path for ATL COM Application Pin
kiranin9-Nov-06 22:07
kiranin9-Nov-06 22:07 
AnswerRe: Path for ATL COM Application Pin
David Crow10-Nov-06 3:57
David Crow10-Nov-06 3:57 
GeneralRe: Path for ATL COM Application Pin
kiranin16-Nov-06 22:38
kiranin16-Nov-06 22:38 
GeneralRe: Path for ATL COM Application Pin
David Crow17-Nov-06 4:12
David Crow17-Nov-06 4:12 
QuestionOutlook Addin Reading Maill Pin
Mahesh Kulkarni9-Nov-06 17:09
Mahesh Kulkarni9-Nov-06 17:09 
Hi all,
I am working on Outlook Addin using vc++. I am facing problem to the get_Subject or GetSubject method . Please give me the solution for this I have given the code snippet below....
Thanks In Advance..
                // Variable Declaration<br />
	        CComQIPtr<Outlook::_Application>Application;		<br />
		CComPtr<Outlook::_Explorer>pExplorer; <br />
		CComPtr<Outlook::Selection>pSelection;	 <br />
                CComQIPtr<Outlook::_MailItem>pMailItem;     <br />
                char *str=new char[100]; <br />
              	IDispatch *pDispatchItem;			<br />
		CComVariant covIndex;<br />
		BSTR subject;	<br />
<br />
                pExplorer =Application->ActiveExplorer(); <br />
		pSelection=pExplorer->GetSelection();<br />
		covIndex.vt = VT_I4 ;<br />
		covIndex.lVal =1;<br />
		pDispatchItem=pSelection->Item(covIndex);				        	pMailItem=reinterpret_cast<_MailItem  *>(pDispatchItem);			<big>pExplorer->get_Subjet(&subject);  // exception at this statement</big><br />
		str=_com_util::ConvertBSTRToString(subject);




The secret of life is not enjoyment
but education through experience.
- Swami Vivekananda.


AnswerRe: Outlook Addin Reading Maill Pin
dharani9-Nov-06 17:24
dharani9-Nov-06 17:24 
GeneralRe: Outlook Addin Reading Maill Pin
Mahesh Kulkarni9-Nov-06 17:49
Mahesh Kulkarni9-Nov-06 17:49 
AnswerRe: Outlook Addin Reading Maill [modified] Pin
_AnsHUMAN_ 9-Nov-06 18:15
_AnsHUMAN_ 9-Nov-06 18:15 
Questionown defined class meets error.(ComboBox) Pin
sting_lee9-Nov-06 17:03
sting_lee9-Nov-06 17:03 
AnswerRe: own defined class meets error.(ComboBox) Pin
dharani9-Nov-06 17:29
dharani9-Nov-06 17:29 
AnswerRe: own defined class meets error.(ComboBox) Pin
Hamid_RT9-Nov-06 18:28
Hamid_RT9-Nov-06 18:28 
QuestionRegister ATL COM dll in MFC Application Pin
kiranin9-Nov-06 16:41
kiranin9-Nov-06 16:41 
AnswerRe: Register ATL COM dll in MFC Application Pin
dharani9-Nov-06 16:46
dharani9-Nov-06 16:46 
AnswerRe: Register ATL COM dll in MFC Application Pin
dharani9-Nov-06 16:50
dharani9-Nov-06 16:50 
GeneralRe: Register ATL COM dll in MFC Application Pin
kiranin9-Nov-06 16:54
kiranin9-Nov-06 16:54 
GeneralRe: Register ATL COM dll in MFC Application Pin
dharani9-Nov-06 17:08
dharani9-Nov-06 17:08 
GeneralRe: Register ATL COM dll in MFC Application Pin
kiranin9-Nov-06 17:15
kiranin9-Nov-06 17:15 
AnswerRe: Register ATL COM dll in MFC Application Pin
Mike_9999-Nov-06 21:41
Mike_9999-Nov-06 21:41 
QuestionCWebBrowser2::Navigate() Pin
includeh109-Nov-06 16:27
includeh109-Nov-06 16:27 
AnswerRe: CWebBrowser2::Navigate() Pin
dharani9-Nov-06 17:38
dharani9-Nov-06 17:38 
AnswerRe: CWebBrowser2::Navigate() Pin
Shivaji Patil9-Nov-06 20:10
professionalShivaji Patil9-Nov-06 20:10 
Questionwhat's the CALLBACK Pin
Shi Zhu9-Nov-06 16:24
Shi Zhu9-Nov-06 16:24 

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.