Articles tagged with Windows

File System Monitoring

By Eric — 6 minute read

At times it is useful to keep tabs on what is happening (or has happened) in the file system. This is a brief overview of all the ways I know of to track activity on a Windows file system.

Scanning

Scanning is the brute-force approach to knowing what is happening …

Read more...

Packing and Alignment

By Eric — 1 minute read

I've made some effort to understand the differences between the Struct Member Alignment compiler option /Zp, #pragma pack and __declspec(align()) with Microsoft Visual C++ in light of an odd bug that ultimately was caused by inconsistent packing options between compilation units.

/Zp and #pragma pack are equivalent, but /Zp …

Read more...

.NET Context Menu Handler

By Eric — 3 minute read

I've been working on a context menu handler shell extension in C# lately. There are a few samples that people have produced on the web (for example, The Code Project, pek.com, and TheServerSide.net). I've found a better way of implementing IShellExtInit.Initialize than in the examples I've seen …

Read more...