What does “Size in TCHARs” means?

So we all know that char is 8-bit, and wchar_t is 16-bit. (This isn’t always true, but it is on Windows with Microsoft compilers.) Many (nearly all) of the Windows APIs are implemented under the hood in two versions: one supports Unicode (multi-byte characters) and the other supports 8-bit national character sets. These two functions actually have slightly different … Read more

What is a Windows Kernel Driver?

Kernel drivers are programs written against Windows NT’s native API (rather than the Win32 Subsystem’s API) and which execute in kernel mode on the underlying hardware. This means that a driver needs to be able to deal with switching virtual memory contexts between processes, and needs to be written to be incredibly stable — because … Read more

WMI processor SerialNumber not found (To Be Filled By O.E.M.)

Return: “To Be Filled By O.E.M.” What does this mean? “To be filled by o.e.m.” is a registration entry that originates in the BIOS and usually indicates you are using a motherboard that you purchased directly from the manufacturer, and then assembled into your own custom machine. Refer: To be filled by o.e.m. problem My processor … Read more

Is it possible to “decompile” a Windows .exe? Or at least view the Assembly?

With a debugger you can step through the program assembly interactively.With a disassembler, you can view the program assembly in more detail.With a decompiler, you can turn a program back into partial source code, assuming you know what it was written in (which you can find out with free tools such as PEiD – if … Read more