Side-By-Side COM Interop with C# and VBA

前端 未结 4 2177
臣服心动
臣服心动 2020-12-01 05:49

I\'m not talking about calling a VBA COM from C#... the other way around!

What I would like to do is call a C# library using VBA in MS Access without registering the

4条回答
  •  忘掉有多难
    2020-12-01 06:33

    You don't have to own the exe to use SxS, SxS is another word for Activation Context. If you can import the relevant win32 calls into vba (and you can), then you can use the activation context api to load your manifest file.

    More on the subject and some examples can be found here.

提交回复
热议问题