How to read the contacts?  
Author Message
Ahmed Essam





PostPosted: Smart Devices Native C++ Development, How to read the contacts? Top

Peace be upon you

this is such a nice forum (Thanks Microsoft), anyways

I have a little question , How can I read the contacts I found that there is somthing to read it

CeOpenDatabase and as I saw there is parameter that contains "Contacts Database" , so all i am asking how can I read the contacts, I mean how can I read all of it, and does it sorted or not , thanks for your time

:)



Smart Device Development3  
 
 
EricShan





PostPosted: Smart Devices Native C++ Development, How to read the contacts? Top

Hi Ahmed,

If you could use POOM API, maybe begin with:

IPOutlookApp::GetDefaultFolder
IFolder::get_Items

Have fun.

Eric


 
 
Ahmed Essam





PostPosted: Smart Devices Native C++ Development, How to read the contacts? Top

thanks man

I already use this stuff and it's working fine but I just want to read it directly, there is some suff I want to do with database and POOM will not help me with this

anyways thanks for your reply :)


 
 
JohnRM2





PostPosted: Smart Devices Native C++ Development, How to read the contacts? Top

You could use EDB to open up the pim.vol and read the contacts database directly.

It works, and while not officially supported and subject to change, this method works, but with the latest changes in POOM you can pretty much do anything you need with the contacts database, from adding custom properties, etc.

It's sad that it's lacking APIs for all of the contact fields, but you can easily get those through GetProps/SetProps.


 
 
Ahmed Essam





PostPosted: Smart Devices Native C++ Development, How to read the contacts? Top

Thanks a lot for your reply

please if you have any article about that please pass it, I really need to so much

thanks alot for your reply :)