0

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

牛慧升
  • 3
  • 3

1 Answers1

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.

C. Augusto Proiete
  • 24,684
  • 2
  • 63
  • 91