• CV
  • Blog
  • Contacts
    • Facebook
    • LinkedIn
    • GitHub
    • Twitter
    • Google+
    • LiveJournal
    • VK
  • РусскийРусский

Anamnesis

of a kooky software developer with megalomaniacal inferiority complex

dll

COM Surrogate has stopped working in Windows Photo Viewer

28.04.2011 by Sergey Vasilyev 47 Comments

Suddenly my Microsoft Windows 7 started to throw “COM Surrogate” error when I try to view any picture with its built-in Windows Photo Viewer. The advices which you can find in the internet says to reinstall Nero or codec packs. I have neither of them, but only more or less clean Windows installation and all its usual updates.

In a nutshell, “COM Surrogate” is DllHost.exe process created by any other process, which wants to execute some code from any DLL (code library), but it doesn’t want to execute the code in its own space since it does not trust the code in terms of stability. So it creates a “surrogate” to execute the code. If that DLL code dies during execution, only DllHost.exe surrogate process dies (giving us this “COM Surrogate has stopped working” error) and the initial process stills alive. If this killing code were executed in the initial process directly, then the initial process dies instead of surrogate.

Though actually we have no need to care what it is and what all this means and how things work. We want our photos being shown.

[Read more…]

Posted in: Knowhows Tagged: bug, com, dll, error, fix, image, photo, surrogate, viewer, windows

Categories

Development Job Knowhows Life Hacks Management Nothings Traveling Word of the Day

Tags

amazon apple archive aws backup blog budget business canada capslock career cloud development document english expenses experiment file image iq job keyboard keyremap4macbook language layout lifehack macbook mac os x macosx management password pckeyboardhack photo psychology python russia russian startup storage success team toronto us windows workon

Copyright © 2025 Anamnesis.

Omega WordPress Theme by ThemeHall