Defining x64 Target Platform for VC++ Projects

If you want to port an existing 32-bit application for the x64 platform (especially since 32-bit processors will soon be history), or if you want to target x64 for a new application, the first step in building for x64 is setting up your solution. In this post I will explain what are the steps in…

Is this an Upgrade?

I downloaded and installed a tool today, and when I ran it for the first time this message popped up. Downgrading happens! 😉

Alchemy Update: 40 New Elements

Alchemy 1.2 is a new update of Alchemy for Windows that brings 40 new elements to the game. This update is focused on physics on space, with elements such as Void, Big Bang, Big Crunch, Black hole, Wormhole, Albert Einstein, Stephen Hawking. The program is now build for Any CPU, so it runs as a…

Alchemy Update: 50 New Elements

Alchemy 1.1 is the first update of Alchemy. It features 50 new cool elements and fixes a problem with the three elements (Bread, Hourglass and Snow) that were marked as terminals though they were required for making other elements. Combinations and elements are now verified formally so that they can all be resolved. The list…

Alchemy for Windows

I have played recently a great game on Android, called Alchemy, created by Andrey Zaikin. You start with four basic elements, Fire, Water, Air and Earth and you can combine them to get more and more elements. The game was so catching that after finishing it I decided to write my own version for Windows….

Remnants of the Golden Age of Communism

The image of this former metallurgical plant of Călan (Hunedoara county) appeared through the surrounding hills as I was driving early in the morning to Hunedoara. It used to be a an important metallurgical center during the “Golden Age” of the communism era. Now it’s just a ruin like most of the industrial facilities in…

Colors Game Redux

Two days ago I posted a simple implementation of a game of colors. Though it was intended only as an exercise, someone has criticizes the use of an int** to hold the grid information, mainly for two reasons: the footprint on 64-bit platforms can get nasty the explicitly allocated memory, instead of using a std::vector…

Colors Game

One of the games I like the most on my new phone is about covering a grid formed by cells of different colors with a single color within a limited number of moves. After playing it again and again for a week, I decided to write my own game for the PC. The rules are:…

Resources for the F# Presentation at Ronua Roadshow

For those that attended my last evening presentation about F# at Ronua Roadshow in Timisoara (but not only), here is the demo I’ve shown, and one that I planned to show but didn’t due to lack of time. The purpose of these demos was to shown simple Windows Forms applications written in F#. Mandelbrot Fractal…

CategoriesF#

How to Find the Source of Memory Leaks

When you run your (unmanaged/C++) application in debugger, you see at the end a report of memory leaks (if any are detected). Something like this: Detected memory leaks! Dumping objects -> f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(141) : {381} normal block at 0x001FFC30, 54 bytes long. Data: < x > 0C 00 B9 78 12 00 00 00 12 00…