Working on a C++ application using WTL and would like to integrate CEF so we can develop some of the administrative functions for the application as a web app, and embed it into our desktop app.
I've installed the cef.redist.x64 (97.1.1) NuGet package, as well as the cef.sdk (97.1.1) NuGet package.
I'm not sure what the next steps are to implement a control which has a simple frameless browser window that we feed a url to. In an ideal world there would be an example using WTL's CWindowImpl out there, but I'm not sure what structures the control should have. Questions like:
- Does each control have it's own CefWindowInfo that persists as long as the control is alive?
- Should I make the control the handler?
Additionally, when I try to build, I'm getting linker errors: A bunch of these: Code: LNK2005 Description: xxxxx already defined in MyClassXXX.obj File: msvcprtd.lib (MSVCP140D.dll)
And a bunch of these: Code: LNK2038 Description: mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in DebenuPDFLibraryDLL1011.obj File: libcef_dll_wrapper.lib(cef_logging.obj)
Any thoughts on the errors?