Click here to Skip to main content
16,006,535 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Please don't repost. Pin
Rajesh R Subramanian20-Jun-08 0:40
professionalRajesh R Subramanian20-Jun-08 0:40 
JokeRe: Please don't repost. Pin
CPallini20-Jun-08 0:51
mveCPallini20-Jun-08 0:51 
JokeRe: Please don't repost. Pin
Rajesh R Subramanian20-Jun-08 0:57
professionalRajesh R Subramanian20-Jun-08 0:57 
GeneralRe: Please don't repost. Pin
CPallini20-Jun-08 1:00
mveCPallini20-Jun-08 1:00 
AnswerRe: Sort by MailDates Pin
Hamid_RT20-Jun-08 0:35
Hamid_RT20-Jun-08 0:35 
GeneralRe: Sort by MailDates Pin
manju#12320-Jun-08 0:39
manju#12320-Jun-08 0:39 
GeneralRe: Sort by MailDates Pin
Hamid_RT20-Jun-08 0:45
Hamid_RT20-Jun-08 0:45 
GeneralRe: Sort by MailDates Pin
manju#12320-Jun-08 1:01
manju#12320-Jun-08 1:01 
Hamid. wrote:
Well I think its best time to modify it now!

Hi..
See i am reading certain mails i want to sort them by mailDate in Decresing order...and write into xml..

Now i am reading the mail as it is and writing into xml file...

how i can compare it and write so it will be in ascending order..

My code is..
///////////////////
for(int y=0; y<(linfo->ACL_STMAIL[0].iMBUserMailCount); y++) 							
{						
  mailDatee = linfo->ACL_STMAIL[y].cMBUserMailDate;
  mailDatee.Remove('/');	
{
										      
  elementName [0] = "NAME";
  elementValue[0] = linfo->ACL_STMAIL[y].cMBUserMailFromName;
  elementName [1] = "EMAIl";
  elementValue[1] = linfo->ACL_STMAIL[y].cMBUserMailFromEmail;
  elementName [2] = "DATE";
  elementValue[2] = mailDatee;
  elementName [3] = "TITLE";
  elementValue[3] = linfo->ACL_STMAIL[y].cMBUserMailSubject;
  elementName [4] = "BODY";
  elementValue[4] = linfo->ACL_STMAIL[y].cMBUserMailTextDesc;
}


Here mailDatee are the maildate i get from mails one by one


thank you

Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju

QuestionRe: Sort by MailDates Pin
Rajesh R Subramanian20-Jun-08 1:33
professionalRajesh R Subramanian20-Jun-08 1:33 
AnswerRe: Sort by MailDates Pin
manju#12320-Jun-08 1:37
manju#12320-Jun-08 1:37 
QuestionRe: Sort by MailDates Pin
Rajesh R Subramanian20-Jun-08 1:41
professionalRajesh R Subramanian20-Jun-08 1:41 
AnswerRe: Sort by MailDates Pin
manju#12320-Jun-08 1:49
manju#12320-Jun-08 1:49 
QuestionRe: Sort by MailDates Pin
Rajesh R Subramanian20-Jun-08 1:51
professionalRajesh R Subramanian20-Jun-08 1:51 
AnswerRe: Sort by MailDates Pin
manju#12320-Jun-08 1:56
manju#12320-Jun-08 1:56 
GeneralRe: Sort by MailDates Pin
Rajesh R Subramanian20-Jun-08 2:07
professionalRajesh R Subramanian20-Jun-08 2:07 
QuestionIs it possible to change the environment of a process? Pin
div!sion20-Jun-08 0:14
div!sion20-Jun-08 0:14 
AnswerRe: Is it possible to change the environment of a process? Pin
KarstenK20-Jun-08 0:26
mveKarstenK20-Jun-08 0:26 
AnswerRe: Is it possible to change the environment of a process? Pin
Hamid_RT20-Jun-08 0:36
Hamid_RT20-Jun-08 0:36 
GeneralRe: Is it possible to change the environment of a process? Pin
div!sion20-Jun-08 1:10
div!sion20-Jun-08 1:10 
AnswerRe: Is it possible to change the environment of a process? Pin
Randor 20-Jun-08 4:08
professional Randor 20-Jun-08 4:08 
GeneralRe: Is it possible to change the environment of a process? Pin
div!sion20-Jun-08 4:42
div!sion20-Jun-08 4:42 
QuestionSort by MailDates Pin
manju#12320-Jun-08 0:13
manju#12320-Jun-08 0:13 
QuestionCompare two date Pin
manju#12319-Jun-08 23:24
manju#12319-Jun-08 23:24 
AnswerRe: Compare two date Pin
Rajesh R Subramanian19-Jun-08 23:37
professionalRajesh R Subramanian19-Jun-08 23:37 
AnswerRe: Compare two date Pin
Hamid_RT20-Jun-08 0:40
Hamid_RT20-Jun-08 0:40 

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.