![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]() hi , i have following code _ContactItem contactItem; COleException e; OleInitialize (NULL); _Application olApp; MAPIFolder pFolder; if (!olApp.CreateDispatch(_T("Outlook.Application"), &e)) { CString strError; strError.Format(_T("CreateDispatch() failed with error 0x%08lx"), e.m_sc); //AfxMessageBox(strError, MB_SETFOREGROUND); OleUninitialize (); return 0; } _NameSpace oNameSpace = olApp.GetNamespace(_T("MAPI")); pFolder=oNameSpace.GetDefaultFolder(10); _Items Items; _Items pItems= pFolder.GetItems(); pContact = Items.GetFirst (); long l = pContact.GetBirthday();//which i have to convert to long value function returns double //value i haven't understood the value that GetBirthDay() returns a double value it is very small value 5 digits only so it can't be no of miliseconds or seconds from 1970's so does anybody know how to convert this double value to Ctime |
Ads |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Date: Today Date: Yesterday etc. | katie | Outlook - General Queries | 1 | June 19th 06 04:10 AM |
Inbox - Sort - Date: Today Date: Yesterday | Jan Groshan | Outlook - General Queries | 2 | April 24th 06 09:23 PM |
Outlook should let me go-to a date 3 weeks from a specified date. | exito816 | Outlook - Calandaring | 1 | April 13th 06 03:18 PM |
date fields - link the calander pop-up to a custom date field | Tom | Outlook - Using Forms | 0 | January 23rd 06 09:13 PM |
Exporting Date received and Date Sent to Access | Sugarthebeet | Outlook - General Queries | 1 | January 19th 06 08:06 PM |