Click here to Skip to main content
15,890,336 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: the memory leak Pin
Christian Graus21-Sep-05 10:26
protectorChristian Graus21-Sep-05 10:26 
Generaldidn't expect from u anyway! Pin
valerie9922-Sep-05 6:21
valerie9922-Sep-05 6:21 
GeneralRe: didn't expect from u anyway! Pin
Christian Graus22-Sep-05 12:22
protectorChristian Graus22-Sep-05 12:22 
GeneralRe: the memory leak Pin
Jörgen Sigvardsson21-Sep-05 11:14
Jörgen Sigvardsson21-Sep-05 11:14 
Generalabsolutely! Pin
valerie9921-Sep-05 11:53
valerie9921-Sep-05 11:53 
QuestionRe: absolutely! Pin
Maximilien21-Sep-05 13:42
Maximilien21-Sep-05 13:42 
AnswerRe: absolutely! Pin
valerie9922-Sep-05 3:59
valerie9922-Sep-05 3:59 
Questiontrying to read rtfbody of email Pin
pnpfriend21-Sep-05 9:51
pnpfriend21-Sep-05 9:51 
I downloaded mapirtf.dll/mapirtf.lip from micorsoft.com to read the rtfbody. I'm getting run time error.. I think
What should I really pass for 1st parameter?
Where can I get the Profile name for 1st parameter?


<br />
CString GetRTFBody(_MailItemPtr pMailItem)<br />
{<br />
	CString mailEntryID;<br />
	CString pStoreID;<br />
	HMODULE hdll;<br />
	LPTSTR abody;<br />
	MAPIFolderPtr pmailfolder = pMailItem->Parent;<br />
	<br />
	hdll = LoadLibrary(_MAPIRTF_DLL);<br />
	if(hdll)<br />
	{<br />
	<br />
		_readrtf readRTF;<br />
		readRTF = (_readrtf)GetProcAddress(hdll,"readrtf");<br />
		readRTF(pmailfolder->GetName(),pMailItem->EntryID,pmailfolder->StoreID,&abody);<br />
	}<br />
<br />
	CString rtfbody(abody);<br />
	return rtfbody;<br />
}<br />

AnswerRe: trying to read rtfbody of email Pin
David Crow21-Sep-05 10:09
David Crow21-Sep-05 10:09 
GeneralRe: trying to read rtfbody of email Pin
pnpfriend22-Sep-05 4:19
pnpfriend22-Sep-05 4:19 
GeneralRe: trying to read rtfbody of email Pin
pnpfriend22-Sep-05 5:40
pnpfriend22-Sep-05 5:40 
QuestionWhere to place code to be ran immediately after all mfc contruction is completed. Pin
Dan Neely21-Sep-05 9:38
Dan Neely21-Sep-05 9:38 
AnswerRe: Where to place code to be ran immediately after all mfc contruction is completed. Pin
David Crow21-Sep-05 10:08
David Crow21-Sep-05 10:08 
GeneralRe: Where to place code to be ran immediately after all mfc contruction is completed. Pin
Dan Neely21-Sep-05 10:28
Dan Neely21-Sep-05 10:28 
GeneralRe: Where to place code to be ran immediately after all mfc contruction is completed. Pin
Blake Miller22-Sep-05 4:18
Blake Miller22-Sep-05 4:18 
QuestionNewlines in my Edit Box Pin
bugDanny21-Sep-05 9:29
bugDanny21-Sep-05 9:29 
AnswerRe: Newlines in my Edit Box Pin
David Crow21-Sep-05 9:34
David Crow21-Sep-05 9:34 
AnswerRe: Newlines in my Edit Box Pin
Chris Losinger21-Sep-05 9:36
professionalChris Losinger21-Sep-05 9:36 
GeneralRe: Newlines in my Edit Box Pin
bugDanny21-Sep-05 10:58
bugDanny21-Sep-05 10:58 
GeneralRe: Newlines in my Edit Box Pin
Chris Losinger21-Sep-05 11:53
professionalChris Losinger21-Sep-05 11:53 
QuestionAdding menu items to a mfc sdi app Pin
Dan Neely21-Sep-05 9:07
Dan Neely21-Sep-05 9:07 
AnswerRe: Adding menu items to a mfc sdi app Pin
Dan Neely21-Sep-05 9:25
Dan Neely21-Sep-05 9:25 
QuestionClosing windows Pin
Demian Panello21-Sep-05 8:35
Demian Panello21-Sep-05 8:35 
GeneralRe: Closing windows Pin
ddmcr21-Sep-05 8:58
ddmcr21-Sep-05 8:58 
AnswerRe: Closing windows Pin
David Crow21-Sep-05 9:31
David Crow21-Sep-05 9:31 

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.