MAPI calls change current working dir

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

i recently experienced that calling MAPI functions results in change of the
current working directory. I strongly believe this is a new behavior.

Am I right? Has there recently been an (auto-)update of the mapi32.dll?

I am using SimpleMAPI with VC++ 6.0 on XP and W2k

cwd before MAPILogon: C:\UserData\Card\SD\testprog\ce-c\Debug
MAPI_InitAndLogon: Logon ok
cwd after MAPILogon: C:\Program Files\Common Files\System\Mapi\1033
 
MAPI had this bug for years... Other than always using the full path (which
is always a good idea) and saving/restoring the current dir, there is not
much you can do.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top