Home

Latest Coding Articles

Full Width and Height Google Maps with Angular Material and Bower

January 31st, 2016

After having some trouble getting a full width and height map working with Angular Material, I am sharing my solution to hopefully spare others the same pain. The solution isn’t anything special, but I did find it tricky as I hadn’t used Angular Material before. For this example, create a new angularjs scaffold as described … Continue reading Full Width and Height Google Maps with Angular Material and Bower

Beware setlocale() in Visual C++ 2012 onwards!

October 7th, 2014

My new article in ACCU’s CVu magazine about changes in Visual C++’s setlocale() implementation – http://accu.org/var/uploads/journals/CVu264.pdf#page=12

Transporting SDO_GEOMETRY objects across an Oracle DBLINK in PLSQL

September 25th, 2012

I needed to transport a geometry object between two Oracle 10g databases, but this turned out to be a quite a difficult thing to achieve. It seems that along with cursors, LOBs and objects in general, an SDO_GEOMETRY cannot be transported across a database link as an out parameter of a package method. The following is a summary of the methods I discovered for overcoming this.

Lightweight Cooperative Multitasking with Boost.Context

August 31st, 2012

I’m writing this in response to Kenny Kerr’s article Lightweight Cooperative Multitasking with C++ in the August 2012 issue of MSDN Magazine, in which Kenny describes a method of implementing cooperative multitasking in C++.

The Boost.Context library has been described as a good candidate for providing low-level cooperative multitasking support to the developing Boost.Coroutine library. Coroutine will provide a more high-level, abstract way of applying these concurrency techniques in your code.

Reading an In-Memory SQLite Database

April 20th, 2012

The distribution of your application can be simplified by embedding core, read-only data into your app. Here I give a quick overview of how to do this on Windows using Visual Studio.

Recent Lessons

March 26th, 2012

I’ve recently picked up development on TolonSpellCheckLib and Tolon NoteKeeper again after a long time away from it. In doing so I’ve been able to apply some of my recent software development experience to the existing code and gained an even greater appreciation of automated build scripts.

Integrating your application with Enchant – Part 2

January 10th, 2009

Welcome to the second article exploring how to integrate the spell checking library Enchant into your Visual C++ applications. I will be using this library with my freeware program NoteKeeper, which I am currently maintaining/developing in two versions of Visual C++. Visual C++ 6 SP6 with STLPort 5.1.5, Multithreaded DLL (cl.exe v12.00.8804, link.exe v6.00.8447) Visual … Continue reading Integrating your application with Enchant – Part 2

Integrating your application with Enchant – Part 1

December 15th, 2008

Welcome to the first in a series of articles exploring how to integrate the spell checking library Enchant into your Visual C++ applications.
In this article we will start by building the support libraries required by Enchant.