MAPI仅适用于Visual Studio [英] MAPI works in Visual Studio only

查看:90
本文介绍了MAPI仅适用于Visual Studio的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到一个非常奇怪的问题。我有一个程序,它将创建一个PST文件,然后添加一些文件夹和项目。

I encounter a very strange problem. I have a program that will create a PST file and then add some folders and items into it.

如果我在Visual C ++(VS 2008)中调试程序,那么一切正常。

If I debug the program in Visual C++(VS 2008), then everything is OK.

但如果我在Visual C ++之外运行调试版本,则只能创建PST文件。即使函数返回成功的值,也无法添加文件夹和项目。我尝试以管理员身份运行调试版本,但仍然失败。

But if I run the debug verson outside Visual C++, then only the PST file can be created. The folders and items cannot be added, even though the functions return successful values. I try to run the debug version as administrator, but still fails.

我的操作系统:Windows 7(32位)

My OS: Windows 7(32bit)

我的Outlook版本:Outlook 2010(32位)

My Outlook version: Outlook 2010(32bit)

有什么问题?

谢谢

推荐答案

哪个MAPI调用失败?
So which MAPI calls fail?


这篇关于MAPI仅适用于Visual Studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆