I thought I had posted this before but it's really important to avoid a bluescreen so I'll post it again:
If you are using the Irfanview free image viewer under Win7 64 bits make sure you disable desktop composition on this program to prevent a BSOD!
I just got my first true BSOD in Win7 using this program!
Opening alot images always causes BSoD with cdd.dll in IrfanView's thumbnail view under 64 bit Windows it seems. Very strange considering that it says on their website that Win7 is supported!
Anyways, this seems to be a known problem as posted on their forums and no fix AFAIK other than disabling composition like I said above or using a different image viewing program.
Hopefully this will help others because we all know how annoying a BSOD can be if you are doing something important and end up losing something important!
Seems to happen to both ATI and Nvidia users on 64 bits. Not sure about 32 bit Win7 since I haven't tried it on there yet. Seems to be a 64bit thing for now though. Also happens on Vista x64.
Here is some more info I found on CDD that is causing the BSOD:
There is one GDI accessible grapchis
display, called CDD (or canonical display driver) that acts mostly as
a frame-buffer based driver with capabilities of supporting Dx mixing.
CDD is a special client of DxgKrnl.
UPDATE: tried it on Win7 32 bits and no crash there so seems to be x64 specific bug.
Also tried it on 2nd AMD rig with ATI card and Win7/Win2008 R2 x64 installed and wasn't able to reproduce crash there.
OOPS spoke too soon. Just had it crash on AMD rig too. Just took a bit longer. Same BSOD with cdd.dll in Win7 and Win2008!