Im在NET使用一个COM图书馆。 供应商向主要的互联大会提供了文件。 然而,一种特定方法将一个接口器退回,但文件没有告诉我,其基本组成部分类型是什么(因此,我不知道我能把哪些其他接口连接到QI)。
能否确定从这种方法中恢复的基本组成部分是,如果所有我都有一个接口?
Im在NET使用一个COM图书馆。 供应商向主要的互联大会提供了文件。 然而,一种特定方法将一个接口器退回,但文件没有告诉我,其基本组成部分类型是什么(因此,我不知道我能把哪些其他接口连接到QI)。
能否确定从这种方法中恢复的基本组成部分是,如果所有我都有一个接口?
总的来说,简单的答复是没有的。 孔口总是藏在底物体上,它不会像C#一样沉降。
如果你拥有已经制定的法典,当然你可以跟踪,或者目标可以告诉你。 此外,你可以尝试一些 ha,如检查你处理中的装货单,询问所有接口,但这都取决于你的具体问题。
没有,除了尝试外,别无其他办法。 如果实际尝试的有益开端需要文件。 这是COM的一个核心设计特征,其实施被仔细隐藏在接口后面。
在NET中,除了有你应该使用的反省工作外,没有真正的差别。
如果你能够猜测你可以问什么,它是否能够这样做,看它的答复。 见
还可以看看它是否实施ITypeInfo或IDis配送,是否使用这些装置。 See thelink groverboy used:
What is the use of default keyword in C#? Is it introduced in C# 3.0 ?
I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...
I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...
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 ...
I have two EF entities. One has a property called HouseNumber. The other has two properties, one called StartHouseNumber and one called EndHouseNumber. I want to create a many to many association ...
How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...
Since I cannot order my dictionary, what is the best way of going about taking key value pairs and also maintaing an index?
Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...