您希望包装函式为您产生一个吗?
决定要使用的包装函式可能有点困难。
相同的包装函式会完全公开五个介面。
在第二个程序中,您要手动定义这个包装函式类别。
In the second procedure, you define this wrapper class manually.
描述如何自订COM包装函式以更改封送处理行为。
Describes how to customize COM wrappers to alter marshaling behavior.
MFC提供方便的包装函式,可让处理视窗通讯更加容易。
MFC provides convenient wrappers to make handling Windows communication easier.
控制项的包装函式类别应为该控制项的名称前面加上字母c。
The control's wrapper class should be the control name prefixed by the letter c.
例如,实作五个不同介面的单一com物件只会有一个包装函式。
For example, a single COM object that implements five distinct interfaces has only one wrapper.
架构会撰写包装函式项目,并将XML写入器定位在其开始之后。
The framework writes a wrapper element and positions the XML writer after its start.
不过,若要修改控制项的行为,您可为该控制项撰写包装函式类别。
However, if you want to modify the control's behavior, you can write a wrapper class for the control.
如需如何产生自订包装函式的详细资讯,请参阅自订标准包装函式。
For additional information about how to generate a custom wrapper, see Customizing Standard Wrappers.
如需包装函式类别功能的详细资讯,请参阅控制项基本技术的物件模型。
For more information about the functionality of the wrapper classes, see the object model for the control's base technology.
如下图所示,呼叫程序码的观点将决定执行阶段会建立哪一种包装函式类别。
As the following illustration shows, the perspective of the calling code determines which wrapper class the runtime creates.
在预设原则中,这表示从内部网路或网际网路下载的程序码将无法使用包装函式。
Under default policy, this means that code downloaded from an Intranet or the Internet will not work with the wrappers.
具有固定大小的集合,只是一个拥有可用来防止新增或移除项目的包装函式之集合。
A collection with a fixed size is simply a collection with a wrapper that prevents adding and removing elements.
由于包装函式对这些资源而言是可能公开的呼叫端,因此小心验证机器码安全性的程序是必要的,而且这个程序必须由包装函式负责执行。
Because the wrapper is potentially exposing callers to these resources, careful verification of the safety of the native code is necessary and is the wrapper's responsibility.
由于包装函式对这些资源而言是可能公开的呼叫端,因此小心验证机器码安全性的程序是必要的,而且这个程序必须由包装函式负责执行。
Because the wrapper is potentially exposing callers to these resources, careful verification of the safety of the native code is necessary and is the wrapper's responsibility.
应用推荐