Access Windows mobile Address book
<p>What is the code for accessing contacts from address book in windows mobile application when the contacts are stored into the windows mobile address book?</p>

<p>I tried:</p>

<pre><code>(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());
    }
}
</code></pre>

<hr>

<p>It's giving the error: </p>

<blockquote>
  <p><code>can't find pinvoke dll 'pimstore.dll'</code></p>
</blockquote>
