Click here to Skip to main content
15,888,031 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a program in which I would like to make the saved files show as images. Windows 7 has this ability with other programs such as MS Word and Adobe PDFs. The program I am writing uses MFC and C++ in VS2010.

Does anyone have any suggestions for a good tutorial on doing saving a file and having it display in the windows explorer panes as an image where I can get idea of what is contained in the file?

Thanks!
Posted

1 solution

Here is the Microsoft article on how to do this.

Building Preview Handlers


And the Windows SDK Sample
 
Share this answer
 
v3
Comments
AndrewG1231 15-Nov-11 17:39pm    
I keep running into an error when trying to follow the instructions in the second link to register the .dll. The example is giving me problems...have you gotten it to run. (this is the second link)
AndrewG1231 15-Nov-11 17:51pm    
Nevermind..got it...I was in the wrong directory! thanks
JackDingler 15-Nov-11 17:43pm    
It's been a few years since I've written a shell preview.

What error are you getting?
JackDingler 15-Nov-11 17:45pm    
You may need to install the windows SDK to get the current libraries.
AndrewG1231 15-Nov-11 17:52pm    
sorry...this a repeat...I had to change configurations to x64 and get into the folder where the .dll was stored. Again, thanks for the help! If you know of any other sites that I can use as a resource let me know.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900