http://forums.techguy.org/windows-xp/602972-psd-shell-extenstion-error-c_psdrsdll.html

The following message was copied from the above page.

Hi gopo,
Not sure if you are still having this issue. Most likely not, but here is what I did to fix it.
Run Regedit, browse to: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved], and look in the right hand side window for "PSD Shell Extension", highlight and delete the entire key. Problem gone.

WARNING:
Before deleting anything in the registry, make sure you backup and or export what it is you are deleting. That way if anything goes wrong you can import it back in.

Good luck,
Jlynn001
[Prof]
[Articles]
- Create secure passwords and help people to memorize those truly random-generated password by offering conceivable sentence.

- Excellent! I should think more about PUFs.
http://developer.android.com/guide/basics/what-is-android.html

1. Make a list of all interesting things
2. Review at least one deep article a day
Bringing specific window to top seems to be easy. However, some function which should do those kinds of things are not work actually. Thus, following code is the way to bring window to top attaching thread input to target window.


if(::GetForegroundWindow() != GetSafeHwnd()) { 
HWND hActiveWnd = ::GetForegroundWindow(); 
if( hActiveWnd ) { 
DWORD dwActiveTid = GetWindowThreadProcessId(hActiveWnd, NULL); 
DWORD dwCurTid = GetCurrentThreadId(); 

if(dwCurTid != dwActiveTid) { 
if(AttachThreadInput(dwCurTid, dwActiveTid, TRUE)) { 
BringWindowToTop(); 
AttachThreadInput(dwCurTid, dwActiveTid, FALSE); 
}

+ Recent posts