Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File operation problem after using MAPI functions

Status
Not open for further replies.

dokini

Programmer
Sep 24, 2002
2
0
0
HU
I compose an outgoing mail-message in my application. This works well. But after this I cannot write or read any file. The fopen, fwrite, fclose functions work without errors, but nothing to do.
Can anybody help me?!
PA (Hungary)
 
If I remember well, MAPI functions are changing the current directory. Try saving the current directory before calling MAPI (GetCurrentDirectory API) and restoring it afterwards (SetCurrentDirectory).

Marcel
 
Hello Marcel,

You are right!
Thanks a lot!!! :-D

Andras
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top