-1
什麼是用於訪問從地址簿中的聯繫人,在Windows Mobile應用程序時,該聯繫人存儲到Windows手機地址簿中的代碼?訪問Windows移動通訊簿
我想:
(Microsoft.WindowsMobile.PocketOutlook.OutlookSession ss = new OutlookSession())
{
ContactCollection mobilePhoneBook = ss.Contacts.Items;
foreach (Contact aContact in mobilePhoneBook)
{
MessageBox.Show("First Name: " + aContact.FirstName.ToString()
+ "\n Mobile Number: " + aContact.MobileTelephoneNumber.ToString());
}
}
它給人的錯誤:
can't find pinvoke dll 'pimstore.dll'
所以是工作或不代碼? :S – 2011-04-27 07:27:33