English 中文(简体)
相当于Borland OleCheck职能的微软ATL
原标题:Microsoft ATL equivalent to Borland OleCheck function

Borland C++ 建设商提供以下职能:<条码> d)。 文件说明:

奥列克用于总结许多COM例行公事,这样,如果例行公事失败,用户将有机会处理由此产生的例外情况。

如果欧洲公路网的价值低于零,OleCheck就提出《欧洲航道法》的例外,具体规定了错误代码。

如果一项功能使地位失效,建议与Microsoft ATL一道使用何种功能或辅助手段来推翻一种例外情况? 我想避免把博兰和微软图书馆混为一谈。

CComPtr<Outlook::Explorers> spExplorers;
OleCheck(m_spApp->get_Explorers(&spExplorers));
最佳回答

劳教中没有这种现成的东西。 最近的是AtlThrow(,其中含有一个例外(不附带条件),但检查仍由您进行,你可以研究如何使用<>>>>>>/code”)。

因此,海事组织的最好名称是制定自己的职能——将接受<条码>HRESULT和<条码>AtlThrow(,或为<条码>建造其他一些例外建筑。 缩略语 宏观。

问题回答

暂无回答




相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?

热门标签