SW addin and CEF browser
Posted: Mon Jul 04, 2022 4:28 am
Hello!
I'm currently working on a C# addin that needs to load a web page that can interact with solidworks.
I managed to load web pages using CefSharp but when using more advanced functions (javascript bindings) there is a conflict with the Cef process embedded into SW (swCefSubProc). The Cef process can only be loaded once and the one that loads is the basic SW version thus I'm missing some CefSharp functions. I tried running different versions of Cef in my addin (including the one used in SW) with no success.
The only solution I found to solve the conflicts is to remove the cef folder from the SW install directory (not a viable solution).
Using the built in version of Cef could be an option but I can't find any documentation on it.
Has anyone here managed to get a fully functional CefSharp implementation in their addin ? Or any other embedded web browser ?
Best regards,
I'm currently working on a C# addin that needs to load a web page that can interact with solidworks.
I managed to load web pages using CefSharp but when using more advanced functions (javascript bindings) there is a conflict with the Cef process embedded into SW (swCefSubProc). The Cef process can only be loaded once and the one that loads is the basic SW version thus I'm missing some CefSharp functions. I tried running different versions of Cef in my addin (including the one used in SW) with no success.
The only solution I found to solve the conflicts is to remove the cef folder from the SW install directory (not a viable solution).
Using the built in version of Cef could be an option but I can't find any documentation on it.
Has anyone here managed to get a fully functional CefSharp implementation in their addin ? Or any other embedded web browser ?
Best regards,