Launching process programmatically: system vs CreateProcess vs ShellExecute
Today I went on a quest to investigate various ways in which we can launch a process (an EXE file) programmatically, while programming in C++ using Windows. I tested 3 different functions: system,...
View ArticleWays to Print and Capture Text Output of a Process
In my previous blog post “Launching process programmatically: system vs CreateProcess vs ShellExecute”, I investigated various ways of launching a new process when programming in C++ using Windows,...
View ArticleShaderCrashingAssert - a New Small Library
Last Thursday (August 17th) AMD released a new tool for post-mortem analysis of GPU crashes: Radeon GPU Detective. I participated in this project, but because this is my personal blog and because it is...
View Article3 Ways to Iterate Over std::vector
This will be a short article about basics of C++. std::vector is a container that dynamically allocates a continuous array of elements. There are multiple ways to write a for loop to iterate over its...
View ArticleDoing dynamic resolution scaling? Watch out for texture memory size!
This article is intended for graphics programmers, mostly those who use Direct3D 12 or Vulkan and implement dynamic resolution scaling. Before we go to the main topic, some introduction first…Nowadays,...
View ArticleSecrets of Direct3D 12: Do RTV and DSV descriptors make any sense?
This article is intended for programmers who use Direct3D 12. We will explore the topic of descriptors, especially Render Target View (RTV) and Depth Stencil View (DSV) descriptors. To understand the...
View ArticleHow to programmatically check graphics driver version
This article is for you if you are a graphics programmer who develops for Windows using Direct3D 11, 12, or Vulkan, and you want to fetch the version of the graphics driver currently installed in your...
View ArticleCalculating checksums of multiple files in PowerShell
Today I would like to share with you a small script that I developed some time ago and I use regularly since then. It calculates hashes (checksums) for multiple files and saves them to a text file. It...
View Article20 years of my blog
Believe it or not, today marks the 20th anniversary of my blog. Exactly on February 13th, 2004, I've published my first entry, which is still online: "Nareszcie w Sieci". It was Friday 13th, but I said...
View ArticleWhat does software have to do with the linen industry?
Technological advancements don't come out of nowhere. They are a sum of many small steps. Video games added interactivity to films displayed on a screen, so we call them "video games". Film, in turn,...
View Article
More Pages to Explore .....