Thu, 09/15/2016 - 15:01
Hi Everyone
I am new to openCASCADE. I am using Windows 10(64bit), Visual Studio 2013 and installed Opencascade-7.0.0
I try to build sample/Csharp/WinForms case and got the error "The referenced component 'OCCTProxy' could not be found". To encounter this error I add reference OCCTProxy.dll from "samples\CSharp\win64\VC12\bin".
Adding reference, application built without error and form1 appears. after clicking on "new button" it gives error "unhandled exception of type system.runtime.interopservices.comexception occured due to OCCTProxt.dll".
I try to change .NET framework, also change Built event from Any CPU to x86. Help me to solve issue. Is anything wrong with my built procedure or installation procedure.
I am also concern about the error I got "There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "C:\OpenCASCADE7.0.0-vc12-64\opencascade-7.0.0\samples\CSharp\OCCTProxy\..\win32\\bind\OCCTProxy.dll", "AMD64"
Thank you
Fri, 03/23/2018 - 17:49
Hi ashish,
If you are looking for developing opencascade in c# maybe this could be a solution:
https://www.occwrapper.com/
Best regards,
Guido