[英]Callback from .Net COM dll to Delphi client in registration-free (side-by-side) COM
[英]Delphi 7 - Registration free COM activation
這不是答案,但是我想包括一個代碼示例,這是我知道如何在Stack Overflow上進行操作的唯一方法。
為了幫助您解決此問題,以下示例說明了我們如何在SxS中部署的VB6項目之一中包含對MS Flex Grid控件的引用。 客戶端是AbbottMST.exe,COM服務器是MSTEngine.dll,這是來自客戶端清單文件AbbottMST.exe.manifest的簡化示例。
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity type="win32" name="AbbottMST" version="4.0.0.7"/>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="MSTEngine" version="4.0.0.4"/>
</dependentAssembly>
</dependency>
<file name="msflxgrd.ocx">
<comClass clsid="{6262D3A0-531B-11CF-91F6-C2863C385E30}"
tlbid="{5E9E78A0-531B-11CF-91F6-C2863C385E30}"
progid="MSFlexGridLib.MSFlexGrid.1"
description="Microsoft FlexGrid Control, version 6.0 (SP6)"
/>
</file>
</assembly>
請注意,如果包含清單,則必須並行部署它。 對於這個項目,我們需要有一個不支持SxS的Windows 2000普通注冊版本,和一個XP的並行版本。 綁定了此清單的EXE版本將無法在非SxS安裝中運行。 (也許有一些我們不知道的魔咒,但這就是我們的經驗。)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.