You will need to use either Extended MAPI (C++/Delphi only) or ProfMan:
http://www.dimastr.com/redemption/profiles.htm#example2
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
> I would like to find out the location of the Outlook .pst files
> programatically. The version that I'm interested in are Office 2000 and
[quoted text clipped - 14 lines]
>
> 10x
Andrei Anghel - 24 Aug 2004 17:46 GMT
Ok, I can use MAPI. I see there is the PR_PST_PATH property. But how do i
use it? I'm not familiar with MAPI at all.
> You will need to use either Extended MAPI (C++/Delphi only) or ProfMan:
> http://www.dimastr.com/redemption/profiles.htm#example2
[quoted text clipped - 24 lines]
> >
> > 10x
Dmitry Streblechenko \(MVP\) - 24 Aug 2004 17:59 GMT
If you have never used Extended MAPI before, I recommend that you do not use
it unless you are planning to use it again in the future - the learning
curve is pretty steep; don't expect this to be a quick afternoon project.
For a sample app that works with the MAPI profiles, see
http://support.microsoft.com/default.aspx?scid=kb;EN-US;228736
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
> Ok, I can use MAPI. I see there is the PR_PST_PATH property. But how do i
> use it? I'm not familiar with MAPI at all.
[quoted text clipped - 29 lines]
> > >
> > > 10x
Andrei Anghel - 24 Aug 2004 17:58 GMT
Ok, I dug in a little bit more, seems can use Profman, some interface.
And
http://66.102.11.104/search?q=cache:rKwE-nf7GdMJ:cameron-webb.com/blog/archive/2
004/05/06/167.aspx+pr_pst_path&hl=en
but I need it to translate into C++ ....
> You will need to use either Extended MAPI (C++/Delphi only) or ProfMan:
> http://www.dimastr.com/redemption/profiles.htm#example2
[quoted text clipped - 24 lines]
> >
> > 10x