本文介绍了WPF中MSWINSCK.OCX的任何替代方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



在WPF中使用MSWINSCK.OCX是否有其他选择,因为我们无法直接使用MSWINSCK在WPF中.OCX,我们使用MSWINSCK.OCX创建了Winform控件,然后在WPF项目中使用了它。它在我们的开发平台上工作,但在客户环境中部署时,它给我的错误如下:



Hi All,

Is there any alternative for using MSWINSCK.OCX in WPF, as we can''t directly use MSWINSCK.OCX in WPF, we have created Winform control using MSWINSCK.OCX and then used same in WPF project. Its worked on our development platform but while deploying it on client''s environment its giving me error as :

System.ComponentModel.LicenseException: You must have a license to use this ActiveX control.
at System.Windows.Forms.AxHost.CreateInstance()





提前致谢,



Kunal



Thanks in advance,

Kunal

推荐答案




这篇关于WPF中MSWINSCK.OCX的任何替代方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 19:36