Using Microsoft Edge in a native Windows desktop app – part 2

In the second part of this series, we will see how to use the WebView2 control in a C++ Windows desktop application. We will use a single document interface MFC application that features a toolbar where you can specify an address to navigate to and buttons to navigate back and forward as well as reloading the current page or stopping navigation.

Using Microsoft Edge in a native Windows desktop app – part 1

Earlier this month, Microsoft has released the new version of its Edge browser, based on the Chromium project. The new browser works on Windows 10, Windows 8.x, and Windows 7, as well as macOS, iOS, and Android. If your application display web content, you can use the new Edge browser as the rendering engine. This is made possible through the Microsoft Edge WebView2 control, currently in developer preview. In this series, I will show how you can do this in a C++ Windows desktop application.

Revisited: Full-fledged client-server example with C++ REST SDK 2.10

Four years ago I wrote a blog post that shown how to build a web server using the http_listener from the C++ REST SDK library as well as a client application that consumed the exposed resources. Over the years there have been various changes to the API from the library and some readers complained the…

How to host a Twitter bot online in no time

In the previous post, I have shown how you could write a simple Twitter bot using JavaScript and Node.js very quickly. However, I ran the bot on my local machine, which is probably not something that you want to do for a real application. Instead, you’d probably want to host it on a cloud platform….

How to write a Twitter bot in no time

I had recently played with the idea of creating a twitter bot, not for any specific reason but to see how hard or easy that would be. And to do something that would put a bit of fun into the experience I decided to make a bot that would create nice tweets with emoji of…

Full-fledged client-server example with C++ REST SDK 1.1.0

UPDATE: for an updated version of this demo, using C++ REST SDK 2.10 see this blog post. In my previous post I shown how you can build a C++ application with the C++ REST SDK that fetches search results from a search engine. In this post, I will go a step further and develop a…

C++ REST SDK in Visual Studio 2013

The C++ REST project provides a modern asynchronous C++ API for cloud-based client-server communication. It is available on codeplex and works with Visual Studio 2010 and 2012, but it is now distributed with Visual Studio 2013. The preview version of VS2013 deploys version 1.0 of the SDK. Since its release a new version of the…

IE9 – First Day Impressions

Today I decided to give a try to Internet Explorer 9, currently in the Release Candidate phase, and available to download at http://www.beautyoftheweb.com. These are the impressions after the first day. I used it for my usual browsing activity, such as email, search, facebook, etc. No benchmarking or things like that. Unfortunatelly, I can’t say…

Facebook in Pirate English

Well, if you didn’t know there was a Pirate English you can find it on facebook. Scroll to the bottom of the facebook page, click on the language link and select English (Pirate). A new world will unveil. For instance “What’s on your mind” becomes “What be troublin’ ye”, “Edit my Profile” becomes “Fix up…