Reading XML Config files with C++ and TinyXML in Linux

I’m currently working on a C++ FOSS project that requires to read configuration settings from file. In .NET this is pretty straightforward to do via ConfigurationManager class, so I had to write my own using TinyXML Source code as shown below: Config.xml Setting.h ConfigReader.h ConfigReader.cpp The elements in XML file are treated as models that […]

Continue Reading

Visual SOS – Visual Studio extension to debug managed applications through SOS

Visual SOS is both an executable and extension for Visual Studio that leverages the debugger engine available in Windows in conjunction with SOS debugging extension. It’s similar to having Windbg embedded into Visual Studio but in a much simpler way, because it exposes some of the most commonly used commands just a click away. Visual […]

Continue Reading

Implementing LINQ’s Enumerable methods in C++ with GCC and CLion for Linux

Hi Community, Today’s post is about my personal implementation of some Enumerable methods available in .NET but written in C++.  My implementation is pretty generic, because it uses a template class that returns a std::vector<T> as if it were IEnumerable<T>. C++ has always provided templates to allow developers write generic code; even when they might […]

Continue Reading

Building native *nix solutions with C++, GTK+ and SQL Server vNext

Hi Community, This is the fourth and final post of this series on GTK+ and Linux development with C++ and SQL Server vNext. The purpose of this post is to walk you through a demo application I’ve written using a few different technologies, tools and patterns as listed below: C++ CLion Glade SQL Sever vNext MVC […]

Continue Reading

Exposing functionality in C++ parent class to children classes through proxies

Hi Community, Today’s post is about a common scenario we might face when building software. Sometimes, we have a parent class which contains a child member or property that requires to trigger or execute code that exist in the parent. It is a common practice to pass a reference to the container or parent, even […]

Continue Reading

Displaying tabular data in a GtkTreeView

Hi Community, As a follow up to Yesterday’s post on Linux development with C++, GTK+ and SQL Server vNext. Today’s post is about GtkTreeView and how we can use it to display tabular data, as we’re used to do with a DataGrid in .NET, but first it’s worthy to start with an introduction to GTK+. […]

Continue Reading

Replicating C#’s using statement functionality in C++

Hi Community, Today’s post is about a project I’ve recently started working on, it’s a C++ application for Linux built with GTK+ and SQL Server vNext for Linux. I’m also using CLion which is my favorite cross-platform IDE when doing plain C++  and Glade as my UI editor. I chose not to use Qt, because I’d […]

Continue Reading

Instrumenting *nix Systems via C#, C++, Mono and Qt

Hi Community, The following article is about one of the subjects I’m most passionate about that’s integration of disparate systems and cross-platform computing. I think, it’s something I had to publish and it’s one of the core components of my SIF project (Service Integration Framework). This approach can be applied to a variety of scenarios, […]

Continue Reading