Calling regasm without administrative rights for COM interop in Excel VBA

后端 未结 2 2084
有刺的猬
有刺的猬 2020-12-03 04:04

A workaround for calling regasm without the admin rights was described here already:

COM Interop without regasm

I\'m trying to create a COM library that my u

2条回答
  •  孤街浪徒
    2020-12-03 04:27

    Calling regasm without administrative rights for COM interop

    I think it should be possible to use RegistrationServices.RegisterAssembly and RegOverridePredefKey APIs together to implement automatic registration under the HKCU hive, in a UAC-friendly way. I've posted a more detailed answer here.

提交回复
热议问题