开发者

How do I call functions from C dll from SSIS ? or, how to load a C dll to GAc

I am creating a custom DTS Pipeline component for SSIS. This component calls a C# dll which is a wrapper around a C dll. Basically the C# wrapper defines the C dll functions' 开发者_C百科signatures and uses DllImport attribute.

The problem is that to use this in SSIS, I need both the C# wrapper and my C dll to be in GAC... How can I load the C dll of unmanaged code to GAC? Or what alternative solution do I have? PS: I have the source code of the C dll...


Actually didn't need to put it in GAC. It just needed to be in runtime path: "%systemroot%\System32"... Thanks anyways

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜