Sign in
The Great Flying Tortoise
A hard-boiled look at Win32 C++ programming and the property system
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
.NET
General
indexing
Property Handlers
Property System
reading properties
Tagging
troubleshooting
World of Warcraft
writing properties
Archive
Archives
July 2007
(1)
May 2007
(1)
January 2007
(11)
November 2006
(11)
October 2006
(13)
September 2006
(17)
August 2006
(4)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
The Great Flying Tortoise
Troubleshooting: Why isn't my property handler getting indexed?
Posted
over 6 years ago
by
benkaras
1
Comments
Having trouble getting your property handler working with the indexer? Here are some troubleshooting tips. 1. Verify that your propdesc file(s) are in a global location 2. Verify that you registered your propdesc file(s) using absolute paths ...
The Great Flying Tortoise
Property handlers and .NET
Posted
over 6 years ago
by
benkaras
0
Comments
A reader asked: I've been reading up the issues with using .NET for property handlers. I know you can't using .NET Interop to create a property handler without getting into issues with the version of the .NET framework. I discovered though that...
The Great Flying Tortoise
Property Handler Decisions and Preparation
Posted
over 6 years ago
by
benkaras
3
Comments
Viewed as a data flow component , a property handler has a single file stream input and outputs a one or more properties. Unfortunately, writing one requires making many decisions before you even set eyes on the code. Let's look at a few of these preparations...
The Great Flying Tortoise
Understanding the Role of Property Handlers
Posted
over 6 years ago
by
benkaras
4
Comments
Knowing what you are trying to accomplish is the first step to using the property system. Property handlers provide a specific set of services which support specific behaviors in the Windows shell. So let's delve into the role of a property handler and...
The Great Flying Tortoise
Property Handler Terminology
Posted
over 6 years ago
by
benkaras
0
Comments
In this series, I will be presenting Windows Vista functionality with a focus on the the file system namespace. Feel free to ask questions, especially if you want to know how things work on XP or in other namespaces, since I'll otherwise ignore those...
The Great Flying Tortoise
What does a property handler accomplish?
Posted
over 6 years ago
by
benkaras
8
Comments
A property handler is the piece of code that enables you to see the properties about your files as in the picture below. Don't worry about the ambiguity in this sentence; I will be much more specific concerning what component does what in later posts...
The Great Flying Tortoise
Computer Science Exams
Posted
over 6 years ago
by
benkaras
2
Comments
Graduate level courses are surreal. Professors assign nearly impossible homework assignments and projects. The exams make you break out in sweat just thinking about them. At the same time, you are often able to just sketch out solutions since it is assumed...
The Great Flying Tortoise
Viruwormy
Posted
over 6 years ago
by
benkaras
0
Comments
I can't bring myself to click the "compile" button on my property handler project yet... so here's a little piece of geeky joy: Viruwormy . -Ben Karas
The Great Flying Tortoise
Pandora and the Music Genome Project
Posted
over 6 years ago
by
benkaras
3
Comments
A coworker recently turned me onto Pandora.com , a new music service backed by the Music Genome Project. The concept is to create a radio station tailored to your exact likes and dislikes. You tell it an artist you enjoy and it decodes what makes you...
The Great Flying Tortoise
Code for Previous Blog Posts
Posted
over 6 years ago
by
benkaras
0
Comments
Someone asked if I had a copy of the code I've been using in my blog so far. Well, I didn't as of 5pm today, so I went back and collected the code into 3 projects: propreader.exe <file> - Prints a list of all properties we know about the file...
The Great Flying Tortoise
Choosing your property API
Posted
over 6 years ago
by
benkaras
0
Comments
It is time that I talk a little about what to do if you want your application to run on XP. There are three sets of APIs, each with subtle differences and caveats, and ultimately your choice requires deciding what platform your application must run on...
The Great Flying Tortoise
The fickle critic
Posted
over 6 years ago
by
benkaras
3
Comments
Personally, I have trouble using the "I liked it" scale ala Netflix. A movie that garners 5 stars one week only finds 4 another week. In a way, this arises from ambiguity present even within the "I liked it" scale. Did I like it because I was in the mood...
The Great Flying Tortoise
The split personality critic
Posted
over 6 years ago
by
benkaras
3
Comments
The 5 star rating control is misused in most applications today. How can I say that? What's more natural than selecting 5 stars for a movie or song? Actually, the intuitive nature of the rating star control is the cause of this subtle usability issue...
The Great Flying Tortoise
Ben on vacation
Posted
over 7 years ago
by
benkaras
0
Comments
I will be on vacation until mid-December, so it is unlikely that I will make any more posts until then, or even maybe January. -Ben Karas
The Great Flying Tortoise
Writing properties #9 - Summary
Posted
over 7 years ago
by
benkaras
0
Comments
Coding to the Windows SDK Reading properties #7 - Summary Writing properties #1 - Simple beginnings Writing properties #2 - Filetype support? Writing properties #3 - Which properties are writable? Writing properties #4 - Which properties are writable...
The Great Flying Tortoise
From bad to worse - the bus ride home
Posted
over 7 years ago
by
benkaras
0
Comments
Today started out nice. But midday it started raining heavily and the wind trashed around a lot. Our building had several brown-outs and reset our computers. Seeing how windy it was, I checked online for any potential bridge closures. Fortunately, none...
The Great Flying Tortoise
Writing properties #8 - Canonical Values
Posted
over 7 years ago
by
benkaras
0
Comments
There's one last topic I want to touch on before I close this series: Canonical values. So far I've talked about how to determine when the property itself is writable. But once you decide to write a property, how do you figure out what type the value...
The Great Flying Tortoise
The deal with IPropertyStoreCapabilities
Posted
over 7 years ago
by
benkaras
0
Comments
Have you ever felt this before? It's the day after you send your product to manufacturing . You step back, look at the big picture, and start to see minor flaws. A dread sinks in when you realize you just blogged about it too! That was Monday morning...
The Great Flying Tortoise
Writing properties #7 - IPropertyStoreCapabilities requires GPS_READWRITE
Posted
over 7 years ago
by
benkaras
1
Comments
[Edit: 2006/11/13 - My original post got this topic entirely backwards. I've fixed the title and will provide details about this tomorrow. ] -Ben Karas
The Great Flying Tortoise
Writing properties #6 - GPS_READWRITE omits read-only data sources
Posted
over 7 years ago
by
benkaras
1
Comments
You'll recall that there are multiple layers in the property system . In particular, the GPS_DEFAULT property system stack for files in the filesystem namespace looks like this: [ Application using GPS_DEFAULT ] [ Coercion Layer ] [ Shell Item Layer...
The Great Flying Tortoise
Trivia: Why is System.PropList.PreviewDetails named "PreviewDetails"?
Posted
over 7 years ago
by
benkaras
0
Comments
In explorer, the bottom portion of an explorer window changed names late in the development cycle of Windows Vista. It was called the "preview pane" for the longest time. The old name snuck into our property naming and our APIs. Later, the name was...
The Great Flying Tortoise
Writing properties #5 - Property lists
Posted
over 7 years ago
by
benkaras
1
Comments
So if a property handler doesn't enumerate which properties it supports writing , then how does the explorer pick which properties to show? Well, the shell namespace extension containing the item specifies the list of properties it wants to show in a...
The Great Flying Tortoise
Writing properties #4 - Which properties are writeable?
Posted
over 7 years ago
by
benkaras
0
Comments
I'm going to make a first stab at printing out a list of properties that are writable for a given file. I'll spoil the fun and let you know that my attempt today will not fully succeed. I'll explain later. For now, let's see some code! You'll recall...
The Great Flying Tortoise
Where's Ben?
Posted
over 7 years ago
by
benkaras
0
Comments
I'm really sorry to let this blog go dark. I've been moving apartments and have been remiss in writing entries (or even an explanation!!). I'll get back to regular postings next week.
The Great Flying Tortoise
Writing properties #3 - Which properties are writable?
Posted
over 7 years ago
by
benkaras
3
Comments
While we don't have a table of properties and filetypes that are writable, there is a programmatic method to determine if a given property can be written to a given property handler. Here's how it works: First, properties can be designated innate ...
Page 1 of 3 (58 items)
1
2
3