Licensing problem with ClickOnce application
I've got a 3rd party video capture control in my system (LeadTools Capture control), which is licensed and works perfectly in my Dev environme开发者_如何学JAVAnt.
When it's deployed as a ClickOnce app, however, it bombs out with the following error:
What could the problem be, and how do you fix it?
Heya bud,
Not at all familiar with that control, of course, but near as I can tell it relies on an ActiveX / COM component - which requires registration.
However, ClickOnce does not support registration of COM components. (This is because of the sandboxing model it has in place). Thats why its crashing, since the COM component isn't - and cannot be - registered.
Check out these links for how to get around it:
http://msdn.microsoft.com/en-us/library/ms165432(v=VS.100).aspx
http://msdn.microsoft.com/en-us/magazine/cc188708.aspx
精彩评论