No matter. You are fetching values by rows. I have suggested that was for single property.
Manish Patel. B.E. - Information Technology.
No matter. You are fetching values by rows. I have suggested that was for single property.
Manish Patel. B.E. - Information Technology.
You are not retriving value from MAPI. Use this code:
LPSPropValue prop;
ULONG ulPropCount;
ULONG p[2]={ 1,PR_MESSAGE_DELIVERY_TIME };
HRESULT hr = m_pItem->GetProps((LPSPropTagArray)p, MAPI_CREATE, &ulPropCount, &prop);
SYSTEMTIME sTm;
FileTimeToSystemTime(&(prop->Value.ft), &sTm);
printf("%d\n",sTm.wDay);
where m_pItem
is your message object. Hope this helps you. :laugh:
Manish Patel. B.E. - Information Technology.
You can use this An Easy to Use Wrapper for SQLite3 (Totally Free Embedded Database Engine!)[^] Is this what you need?
Manish Patel. B.E. - Information Technology.
You are getting value as SPropValue
. Suppose its prop
. Now use following code to convert FILETIME
to SYSTEMTIME
SYSTEMTIME sTm;
FileTimeToSystemTime(&(prop.Value.ft), &sTm);
Manish Patel. B.E. - Information Technology.
Then PR_CLIENT_SUBMIT_TIME
is right. For Recieved: PR_MESSAGE_DELIVERY_TIME
Manish Patel. B.E. - Information Technology.
Which time are you talking about sent time or recieved time? Try to use PR_MESSAGE_DELIVERY_TIME
. Is it what you want?
Manish Patel. B.E. - Information Technology.
Are you talking about mail message time in MAPI?
Manish Patel. B.E. - Information Technology.
Sorry but i am not able to use it with System Tray popup menu. Actually i have used this library to create a System Tray pop up menu. http://www.codeproject.com/KB/shell/systemtray.aspx[^] So, Do you have any idea on this? Regards,
Manish Patel. B.E. - Information Technology.
Thanks for quick reply, I have seen that function. It runs fine but i am not able to see any change to the text of the menu item. Is there any rule to use this function, If so then please let me know. Let me know if you have any other solution. Thanks and Regards,
Manish Patel. B.E. - Information Technology.
Hello all, How can i change text of the particular menu item in MFC? I have id of that menu item. Please let me know if you have any idea. Regards,
Manish Patel. B.E. - Information Technology.
Hello all, I am using Extended MAPI to retrieve Outlook Contact information. I am able to get most of the fields. But i am not able to get below list to fields for Contact Item. 1. IM Address 2. Picture of the Contact 3. Business Card information 4. Country for Phone numbers Is there any body who can help me out on this? Thanks and Regards,
Manish Patel. B.E. - Information Technology.
Hello all there, I have made two avtivex controls to lie in web browser. and ruuning properly. Now i want to communicate between these controls. I am able to do this by java script as intermediate. But i dont want to include jave script at all. So is there any way to do it directly? Thanks in advance.
Manish Patel. B.E. - Information Technology.
Hello all, I am developing ActiveX Control which runs in browser and making communication with javascript. I am able to send and recieve data between activex and javascript. Now i want to know that 1. what is the maximum limit to send data to javascript? 2. Is it possible to pass custom object to javascript? Thanks in advance. Regards,
Manish Patel. B.E. - Information Technology.
Hello all, I want to make an application that can convert PCMU data to MP3.I am able to do it using files but i want to do it as online(packet by packet). My program uses lame MP3 encoder to conver PCMU to MP3. Is there anybody who can help me out on this? I dont know whether i am putting question in right forum or not. Thanks in advance.
Manish Patel. B.E. - Information Technology.
see this http://msdn.microsoft.com/en-us/library/aa733970.aspx[^]
Manish Patel. B.E. - Information Technology.
You can use this also: TCHAR *x = "1252655"; long val; sscanf(x, "%ld", &val);
Manish Patel. B.E. - Information Technology.
See into msdn for
atol, _atol_l, _wtol, _wtol_l
functions. Is this you want?
Manish Patel. B.E. - Information Technology.
Hello all, I am developing sniffer kind of application. I have it at all. But now i want to add IP Filtering option in it. But i don't know how to set an option on socket so that i can not receive local network packets. Is there any body who can help me out. Any help will be highly appreciated. Thanks in advance.
Manish Patel. B.E. - Information Technology.
Hello All I want to develop addon for Mozila Firefox browser. Is there any body who can give me idea to do so? Thanks in advance
Manish Patel. B.E. - Information Technology.
Thanks for your great help. Its useful for Internet Explorer. Is there any alternative for Firefox and other web browsers? Thanks
Manish Patel. B.E. - Information Technology.