Click here to Skip to main content
15,892,797 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a com object which is working fine with windows form application. but not working in wpf application. when i add the object it giving ocxstate exception when calling any method in the com object
Posted
Comments
Mark Salsbery 1-Jul-11 12:34pm    
What kind of COM object and how is the issue related to WPF?

1 solution

It could be an issue to do with the threading model that WPF uses. We'd need to see the error to have a chance at knowing. One work around might be to create a control in winforms, and then host that control in WPF.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900