Getting info about file type handler app
I want to get information about the application that is registered with Windows for handling a particular file extension. In the application I'm developing, users can attach different files which they want to view later on demand. I don't know in advance which type of files they might attach. So, I want to get infromation from Windows about the application registered for handling a particular type of file. Once I get this information, I'll be starting that application with instructions to open the file the user is interested in.
I guess this can be done thru Windows API.