none
lpProfAdmin->GetProfileTable return zero profiles when profiles are defined in the system RRS feed

  • Question

  • This API return zero profiles when MapiCdo installed but when I install outlook then API retrieve all the profiles, why?? 

    Yossi Zadok

    Monday, April 30, 2012 10:48 AM

Answers

  • MAPICDO and Outlook are two different implementations of MAPI. They do not use identical formats for storing profile data in the registry. And providers that look to be the same in the two (such as emsmdb32.dll, the Exchange provider) are actually quite different and depend on different sets of properties in the profile. So - any profile created by one implementation of MAPI is completely unusable by the other version of MAPI. If you are uninstalling one implementation of MAPI and installing another on the same machine, you would NOT want to use any profiles left over by the previous version. You would be best off deleting them.

    Tuesday, May 1, 2012 4:11 PM
    Answerer

All replies

  • If the standalone version of MAPI is installed, how would the profiles be created? Profiles are created by the user when you launch Outlook for the first time, explicitly create a new profile from Control Panel | Mail, or if you create a profile programmatically.


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.3 is now available!

    Monday, April 30, 2012 2:13 PM
  • MAPICDO and Outlook are two different implementations of MAPI. They do not use identical formats for storing profile data in the registry. And providers that look to be the same in the two (such as emsmdb32.dll, the Exchange provider) are actually quite different and depend on different sets of properties in the profile. So - any profile created by one implementation of MAPI is completely unusable by the other version of MAPI. If you are uninstalling one implementation of MAPI and installing another on the same machine, you would NOT want to use any profiles left over by the previous version. You would be best off deleting them.

    Tuesday, May 1, 2012 4:11 PM
    Answerer