English 中文(简体)
进口COM部件:差异c#对德尔斐XE
原标题:Import COM component: Difference c# vs. Delphi XE

不幸的是,其生产商明确不支持戴尔菲,只提供C#和VB.NET的例子。

2010 VS2010年的OTOH相当直截了当,因为相应的COM图书馆(WinSig.exe)被列为参考文献。

在 VS2010 IDE 中,这是在“ 工程 - 添加引用 - COM 标签 ” 中。 在 Delphi XE 中,我找不到在“ 元件 - 导入元件 - 主动X ” 中的条目 。

我检查了两个国际开发实体中的条目,发现德尔斐国际开发实体中包含一些COM部件,这些部件也存在于VS IDE中,但在德尔斐国际开发实体中缺少许多COM部件。

“http://dl.droppox.com/u/10252995/Delphi_VS.jpg' rel=“nofollow”>屏幕截图文件,这表明头七个COM组件没有显示在德尔斐 IDE中。

能否解释为什么如此,也许有助于解决这一具体问题?

最佳回答

您是否在 中检查了 导入类型库 选项, 在 Import party 向导中( 第一页)? 主动X比 COM 窄。 另外, 如果您知道图书馆的位置, 您可以使用 Add 按钮来选择文件 。

问题回答

暂无回答




相关问题
How can i add a button to all windows explorer instances?

I am trying to add a button to one of the existing tool bars in any windows explorer instance. After much research i figured out that BHO (browser helper objects) are the best way to hook to ...

Hunting memory leaks

I m finding leaked heap blocks by using the following command in WinDbg !heap –l With each leaked heap block I get, I m running to following to get the stack trace. !heap -p -a leakedheapblock The ...

Why use CComBSTR instead of just passing a WCHAR*?

I m new to COM. What exactly is the advantage of replacing: L"String" with CComBSTR(L"String") I can see a changelist in the COM part of my .NET application where all strings are replaced in this ...

IThumbnailProvider and IInitializeWithItem

I am trying to develop an IThumbnailProvider for use in Windows 7. Since this particular thumbnail would also be dependant on some other files in the same directory, I need to use something other than ...

Getting a byte array from out of process C++ COM to C#

What s the best way to get a chunk of memory (i.e. void*) from a COM server to C#? We have been using an IStream (using CreateStreamOnHGlobal) and passing that back, which worked. However when we ...

COM Basic links

folks can you provide me the tutorial link or .pdf for learning basic COM?. i do google it.. still i recommend answers of stackoverflow so please pass me.. Thanks