Posts Tagged ‘C++’

Experimenting with SQL to JSON in SQL Server 2008

Posted: 14th July 2010 by Adam Presley in C#, Development, SQL
Tags: , ,

In the last couple of days at work my friend Adrian (@iknowkungfoo) and I (@adampresley) have been tossing around how we can improve performance on various portions of the application we work on. On of the trouble areas has always been large query sets that then have to be transformed into JSON for an AJAX [...]

And the lightbulb lit up…

Posted: 7th March 2008 by Adam Presley in C++, OpenGL
Tags: , ,

In my last post I mentioned I was having issue with remembering the order to draw vertices for quads. Ha… the light came on tonight while I was working on the various tutorials I’ve come across. The bottom and back faces of a cube I am actually drawing the quad from the perspective of viewing [...]

Learning OpenGL

Posted: 6th March 2008 by Adam Presley in C++, OpenGL
Tags: , ,

In the last two days I have blown the dust film off of the old C++ compiler and jumped back into the world of graphic programming in OpenGL. I have maintained a fantasy for many years now of getting into game programming. Being such a fascinating and challenging area of development, as well as the [...]

Images in SQL

Posted: 9th February 2007 by Adam Presley in C#, Development
Tags: , ,

So I was presented with a task today of extracting images that were stored in a Microsoft SQL Server 2000 database and save them as JPEG files. Here is a bit of code that will do this. In this code sample I am assuming domain authenticated SQL login. The table name here will be called [...]

Logical Drives and WMI

Posted: 1st February 2007 by Adam Presley in C#, Development
Tags: ,

In an effort to support removable media devices in SyncXpress I’ve had to do a bit of learning about WMI in .NET. It is actually quite cool how much information you can get from WMI about ANY piece of hardware attached to your system, and even INSIDE your system. So in my case I want [...]