Sort by MailDates
-
Rajesh R Subramanian wrote:
Can you show me how the structure looks like?
//////////////////
struct loginInfo { CAclsApi *TestApi ; _TCHAR *sUserName; _TCHAR *sPassWord; _TCHAR *sServerName; _TCHAR *sTagStyle; long sMaxCrawl; const _TCHAR *sStDate; const _TCHAR *sEndDate; _TCHAR *sFileExt; _TCHAR *OutPut; _TCHAR *sMailDate; _TCHAR *sDuration; bool *cMailHasAttachment; _TCHAR *cAttachFileNames; bool bThreadRunning; bool bServerConnected; bool BServerConnected() const { return bServerConnected; } void BServerConnected(bool val) { bServerConnected = val; } bool btimeOut; _TCHAR thstrAclInfo[1024]; ACL_STATUS status; ACL_STRUCT_INFO *ACL_INFO; ACL_STRUCT_MBUSERS_MAIL *ACL_STMAIL; ACL_STRUCT_MBUSERS *ACL_MBUSERS; ACL_STRUCT_MBUSERS_MAIL_ATTCH *ACL_MAIL_ATTACH; };
unsigned int __stdcall ConnectToServer(void *dummy) { loginInfo *linfo = (loginInfo*)dummy; linfo->ACL_INFO=new ACL_STRUCT_INFO; linfo->ACL_STMAIL=new ACL_STRUCT_MBUSERS_MAIL[MAX_MAIL_COUNT]; linfo->ACL_MBUSERS=new ACL_STRUCT_MBUSERS[MAX_MAILBOX_COUNT];
Hi.. I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++ manju
I asked you for linfo and you've provided me with loginInfo structure. Follow these steps: 1. Find out how this linfo structure is being populated. Somewhere, a COleDateTime should be in place, hopefully. 2. You could compare COleDateTime variables to find out which is greater, just like you compare integers. This is because the COleDateTime class has the relational operators defined.
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP