tabs ↹ over ␣ ␣ ␣ spaces

by Jiří {x2} Činčura

Win32_Service bit me again

8 Jan 2016 1 mins Best practice or not?, Windows

When I wrote few weeks ago about my gotcha with Win32_Service little I knew it is a journey to begin. Here’s next part.

After previous trip to wonderland I was taking extra caution when doing anything with types. But this time I faced, …, different values for the same parameters. Let’s explore the StartMode parameter. When you use Create you can use Automatic as a value (among others) based on the documentation. One might expect the same value when reading this parameter from instance, right? Even the values in documentation look the same. Well, almost. Our particular value there is Auto not Automatic. Go figure.

I have a feeling this is not the last confusion I’ll face.

Profile Picture Jiří Činčura is .NET, C# and Firebird expert. He focuses on data and business layers, language constructs, parallelism, databases and performance. For almost two decades he contributes to open-source, i.e. FirebirdClient. He works as a senior software engineer for Microsoft. Frequent speaker and blogger at