Search This Blog

Sunday, September 27, 2020

Move GoDaddy Domain Name To Your Azure Website

very helpful tips

 https://www.codeproject.com/Tips/890336/Set-Your-GoDaddy-Domain-Name-To-Your-Azure-Website#:~:text=Login%20to%20your%20account%20in,the%20window%20in%20step%204


Sunday, September 13, 2020

CEF MFC - build wrapper

 To work with 

Chromium Embedded Framework (CEF) with C++ under winodws .

you need to create the libcef_dll_wrapper 

to do it :

download the relevant windows binaries from 

http://opensource.spotify.com/cefbuilds/index.html

  • run visual studio command line (x86 or x64)
  • run on the root folder after extract it cmake -A Win32
  • you can locate the solution file and compile the wrapper.



explanation for the code cefwrapper https://naughter.wordpress.com/2020/02/17/cefwrappers-v1-0/

 

the next paragraph from http://www.naughter.com/cefwrappers.html

  • You need to download and build CEF for Windows or download prebuilt binaries for CEF. You can download builds from http://opensource.spotify.com/cefbuilds/index.html. If you want to build CEF yourself, there is a article explaining how to do this at http://mariusbancila.ro/blog/2016/05/05/building-the-64-bit-version-of-chromium-embedded-framework-on-windows/. As of v1.01 of CEFWrappers, the demo application assumes you have downloaded the x64 build of CEF to a "D:\DEV\CEFx64" directory. To build CEF for x64 after you have downloaded it, you should start a Visual Studio Command Prompt, navigate to the CEF x64 directory and run "cmake -A x64 ." from the command prompt. You should then load the cef.sln file in the CEF x64 directory and Build -> Batch Build -> Select All -> Build to build all the CEF files for x64. The demo application also assumes you have downloaded the x86 build of CEF to a "D:\DEV\CEFx86" directory. To build CEF for x86 after you have downloaded it, you should start a Visual Studio Command prompt, navigate to the CEF x86 directory and run "cmake -A Win32 ." from the command prompt. You should then load the cef.sln file in the CEF x86 directory and Build -> Batch Build -> Select All -> Build to build all the CEF files for x64. At this point you should have all the CEF files for both x64 and x86 in the two CEF directories. If you download CEF x64 or CEF x86 to different directories, then you need to ammend the CEFWrappers project's VC Include and Lib Directories project settings.


extra links 

https://www.codeproject.com/Articles/1105945/Embedding-a-Chromium-Browser-in-an-MFC-Application

https://mariusbancila.ro/blog/2016/05/05/building-the-64-bit-version-of-chromium-embedded-framework-on-windows/

https://titanwolf.org/Network/Articles/Article?AID=e2367d4a-5180-4df6-b5b0-761e7880d14b#gsc.tab=0


An easy way to use CEF with MFC via CLR could be find in those video

https://www.youtube.com/watch?v=xIRs9gneQAE

https://www.youtube.com/watch?v=uBvDK6LE4XM

woww sample http://www.talkplayfun.com/EasyWords/

https://github.com/nasser-sh/Cef3-MFC

https://programmer.help/blogs/mfc-and-javascript-interaction-cef.html

 CEF into the MFC dialog box 

CEFSHARP- If You Like It, Put an HTML5 UI on It

CEFSHARP samples

https://ourcodeworld.com/articles/read/173/how-to-use-cefsharp-chromium-embedded-framework-csharp-in-a-winforms-application