Use OCX without registering it

后端 未结 5 1507
执笔经年
执笔经年 2020-12-23 09:59

Is it possible to use an ocx (ActiveX Control) on a winform (probably adding it programatically) without first having the ocx registered with regsrv32?

What I\'m try

5条回答
  •  忘掉有多难
    2020-12-23 10:47

    Be warned that apparently using registry-free COM for COM components authored in .NET can randomly cause crashes on Windows XP!

    Links: Stackoverflow question where I learned this, Microsoft knowledgebase article referred to in that question. There is a hotfix but you aren't allowed to redistribute it.

提交回复
热议问题