Using sqlcompact with how excel-dna

做~自己de王妃 提交于 2021-02-11 13:47:41

问题


when I use sqlcompact in excel-dna,At sqlceca40.dll I could not packed xll.So I my excel.xll is not work.


回答1:


This is not a supported scenario by ExcelDnaPack at the moment.

ExcelDnaPack only supports packing of .NET assemblies (a.k.a. managed DLLs). sqlceca40.dll is a Win32 DLL... Therefore you won't be able to pack that DLL in your XLL using ExcelDnaPack.

You could use alternative approaches to embed the sqlceca40.dll into your add-in assembly using a tool such as Fody.Costura, for example, as this example in SO shows.



来源:https://stackoverflow.com/questions/54145617/using-sqlcompact-with-how-excel-dna

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!