Click here to Skip to main content
15,919,132 members
Articles / Desktop Programming / Win32

Using Win32 Transactions

Rate me:
Please Sign up or sign in to vote.
5.00/5 (20 votes)
21 Jul 2022MIT10 min read 10.5K   307   32  
This article demonstrates how to use Win32 transactions with file and registry operations.
Ever since Windows Vista, the Win32 subsystem has support for using transactions with file and registry operations (among others). Using transactions, those operations can be tied together and either committed or rolled back in a single operation. This article demonstrates how to do that in C++.


Daily Counts


Weekly Counts


This article, along with any associated source code and files, is licensed under The MIT License

Written By
Software Developer
Belgium Belgium
I am a former professional software developer (now a system admin) with an interest in everything that is about making hardware work. In the course of my work, I have programmed device drivers and services on Windows and linux.

I have written firmware for embedded devices in C and assembly language, and have designed and implemented real-time applications for testing of satellite payload equipment.

Generally, finding out how to interface hardware with software is my hobby and job.

Comments and Discussions