Click here to Skip to main content
15,918,471 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem in Accessing CArray object Pin
ThatsAlok17-Oct-07 2:02
ThatsAlok17-Oct-07 2:02 
GeneralRe: Problem in Accessing CArray object Pin
chandu00417-Oct-07 2:13
chandu00417-Oct-07 2:13 
GeneralRe: Problem in Accessing CArray object Pin
ThatsAlok17-Oct-07 2:28
ThatsAlok17-Oct-07 2:28 
GeneralRe: Problem in Accessing CArray object Pin
David Crow17-Oct-07 3:27
David Crow17-Oct-07 3:27 
QuestionDownload image programmatically Pin
Y K Kishore Kumar16-Oct-07 21:46
Y K Kishore Kumar16-Oct-07 21:46 
AnswerRe: Download image programmatically Pin
Hamid_RT16-Oct-07 22:59
Hamid_RT16-Oct-07 22:59 
AnswerRe: Download image programmatically Pin
ThatsAlok17-Oct-07 1:31
ThatsAlok17-Oct-07 1:31 
Questionhow to get the line number of exception (details) in a try catch(...) block Pin
Rocky#16-Oct-07 21:38
Rocky#16-Oct-07 21:38 
GeneralRe: how to get the line number of exception (details) in a try catch(...) block Pin
Matthew Faithfull17-Oct-07 0:15
Matthew Faithfull17-Oct-07 0:15 
GeneralRe: how to get the line number of exception (details) in a try catch(...) block Pin
Rocky#17-Oct-07 0:22
Rocky#17-Oct-07 0:22 
AnswerRe: how to get the line number of exception (details) in a try catch(...) block Pin
Mark Salsbery17-Oct-07 5:39
Mark Salsbery17-Oct-07 5:39 
GeneralRe: how to get the line number of exception (details) in a try catch(...) block Pin
Rocky#21-Oct-07 19:29
Rocky#21-Oct-07 19:29 
GeneralRe: how to get the line number of exception (details) in a try catch(...) block Pin
Mark Salsbery23-Oct-07 8:03
Mark Salsbery23-Oct-07 8:03 
QuestionSmall doubt Pin
kuttiam16-Oct-07 21:30
kuttiam16-Oct-07 21:30 
AnswerRe: Small doubt Pin
chandu00416-Oct-07 21:59
chandu00416-Oct-07 21:59 
AnswerRe: Small doubt Pin
Nelek16-Oct-07 22:04
protectorNelek16-Oct-07 22:04 
GeneralRe: Small doubt Pin
kuttiam17-Oct-07 19:07
kuttiam17-Oct-07 19:07 
AnswerRe: Small doubt Pin
ThatsAlok17-Oct-07 1:37
ThatsAlok17-Oct-07 1:37 
Questionwstring to string question Pin
monsieur_jj16-Oct-07 21:22
monsieur_jj16-Oct-07 21:22 
Hi all,

I made this function of getting a unicode MAPI property:
LPMESSAGE msg = NULL;
	wstring subj;
		HRESULT hrProperty;	
		LPSPropValue lpPropValue = NULL;
		
		hrProperty = HrGetOneProp(m_Message->Interface(), PR_SUBJECT_W, &lpPropValue);
		if (hrProperty == S_OK)
		{	
			subj = static_cast<wstring>(lpPropValue[0].Value.lpszW);
		}
		
	return _bstr_t(subj.c_str());


now I need the subj value for SetSubject(Subj.c_str(),codePage) from altmime however when I pass the value of subj to a string it loses it's contents(I am retrieving asian characters) it turns into ??? from the original value.

Help please,
Jj
AnswerRe: wstring to string question [modified] Pin
ThatsAlok17-Oct-07 1:36
ThatsAlok17-Oct-07 1:36 
QuestionHow to display only console window and hiding dialogbox? Pin
mss8116-Oct-07 21:17
mss8116-Oct-07 21:17 
AnswerRe: How to display only console window and hiding dialogbox? Pin
Nelek16-Oct-07 21:55
protectorNelek16-Oct-07 21:55 
AnswerRe: How to display only console window and hiding dialogbox? Pin
mss8116-Oct-07 22:05
mss8116-Oct-07 22:05 
GeneralRe: How to display only console window and hiding dialogbox? Pin
Nelek17-Oct-07 0:05
protectorNelek17-Oct-07 0:05 
GeneralRe: How to display only console window and hiding dialogbox? Pin
ThatsAlok17-Oct-07 20:36
ThatsAlok17-Oct-07 20:36 

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.