Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Sort by MailDates

Sort by MailDates

Scheduled Pinned Locked Moved C / C++ / MFC
c++xmlcareer
21 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M manju 123

    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

    R Offline
    R Offline
    Rajesh R Subramanian
    wrote on last edited by
    #21

    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

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups