1

A beginner question I am sure, but I have just started working with a DLL provided by Vandyke software (VRALib, a COM and .NET API for scripting SSH2 connections) so while I am happily now coding on my PC, I am not sure how you go about redistributing DLLs along with the application to other PCs.

Does any one have some beginners guides to working with 3rd party DLLs and best practice methods and tips / tricks for redistribution?

4

1 回答 1

2

好的,如果它是一个带有托管 .NET API 的 COM DLL,您需要确保您有一种在 PC 上安装和注册 COM DLL 的方法。.NET API 可以与您的应用程序一起复制。

有多种注册 DLL 的方法,有一个命令行程序 regsvr32,它有点难看但很实用。这是一篇描述如何从 .NET 代码注册 COM DLL 的文章。

Vandyke 软件是否附带安装程序,您可以从安装程序中运行该安装程序?它们是否提供了以静默模式运行安装程序的方法?

于 2011-07-17T21:55:52.777 回答