Move manifest file to dll?

前端 未结 1 1940
终归单人心
终归单人心 2021-01-07 10:31

I\'m using a third party component in my application that is distributed either as a COM component, or can be referenced using a .manifest file. Either way it is loaded usin

1条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-07 10:57

    You can put the manifest in the DLL, but it may not be activated automatically. You may need to do that manually using the activation context API. I think a lot depends on what the manifest is being used for. I suspect you are trying to use registration free COM, but that's only a guess.

    Anyway, these links may well be useful to you:

    • RT_MANIFEST resource, and ISOLATION_AWARE_ENABLED (Junfeng Zhang)
    • Isolating Components (MSDN)

    0 讨论(0)
提交回复
热议问题