是否可以在没有原始源代码的情况下查看 XLL Excel 插件的源代码?我猜测这个 XLL 是用 C# 编写的,但不确定。 IE。可以使用 dotPeek 反编译的 .NET DLL,或者可以通过 Developer > Visual Basic 在 Excel 中打开的 XLA 文件。我尝试了两种方法但没有运气。
您知道这个 Excel 插件是否是使用 Excel-DNA 构建的吗?如果是,那么您可以使用以下命令从 .XLL 文件中提取 .NET 程序集ExcelDNA解包.
源代码位于 GitHub 上:https://github.com/augustoproiete/ExcelDnaUnpack
您可以下载ExcelDnaUnpack.exe
(编译好的工具可以使用)在ReleasesGitHub 上项目的选项卡。
ExcelDNA解包是一个命令行实用程序,用于提取包含 ExcelDnaPack 的 ExcelDna 加载项的内容
Usage: ExcelDnaUnpack.exe [<options>]
Where [<options>] is any of:
--xllFile=VALUE The XLL file to be unpacked; e.g. MyAddIn-packed.xll
--outFolder=VALUE [Optional] The folder into which the extracted files will be written; defaults to '.\unpacked'
--overwrite [Optional] Allow existing files of the same name to be overwritten
Example: ExcelDnaUnpack.exe --xllFile=MyAddins\FirstAddin-packed.xll
The extracted files will be saved to MyAddins\unpacked
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)