welcome to the world of…

Looks like a small bulb used to indicate something unusual, like a malfunction.

Reserve virtual memory

Filed under: Uncategorized — Tags: , , , , — admin @ 2018-06-16 13:42

I needed to load a huge amount of data into memory. It had to be a continuous chunk of memory and I could not tell the size from a beginning. C++ std::vector is a good candidate however its downside is that it reallocates and copies all data when it runs out of its current capacity. Virtual memory mapping to the rescue! (more…)

MS VC++ 2012 and Windows XP

Filed under: Uncategorized — Tags: , , , , , , — admin @ 2014-07-02 07:21

MS VC++ 2012 is installed, development environment is fine tuned with all necessary libraries, QT and boost are no longer complaining about missing components etc… Then you find out that your application is not working in Windows XP. You see only a terse dialog with a message program.exe is not a valid Win32 application. (more…)

Windows 8 SDK

Filed under: Uncategorized — Tags: , , , , , , , , , — admin @ 2014-03-08 01:14

MS Visual C++ 2012 SDK might be already mature enough and lots of libraries are being built with this version these days. Its support for C++11 is also supposedly better so lets try it. This is not a review. Only a simple “how to” about installing and troubleshooting. (more…)

Windows 7 SDK troubleshooting

Filed under: Uncategorized — Tags: , , , , , , , , — admin @ 2012-03-03 11:49

Let’s say you need to compile your C++ project under MS Windows and you need to use the Microsoft’s toolchain instead of MinGW. Buying the whole Visual Studio is not necessary. I like a simple combination gvim+scons+gcc which gives me a high amount of flexibility. I just needed to switch the gcc to the MS compiler.

(more…)