Ask the person who produced emacs.exe to tell you where he/she
> So the conclusion is that libgcc_s_dw2-1.dll that came with gnuplot is
> incompatible with what Emacs was linked against. To solve this
> without having to remove gnuplot, find the file libgcc_s_dw2-1.dll
> that Emacs is using now (e.g., by using the "depends" program), and
> copy it into the same directory where you have emacs.exe.
> I'm having exactly the same problem.
> See here: http://superuser.com/questions/576512/emacs-24-3-on-windows-7-does-not-close-properly
> But there is a slight twist in the tale for me:
> In my case, "libgcc_s_dw2-1.dll" was never seen in dependency walker. Whoa!
> And I had ~16 of those libgcc_s_dw2-1.dll files in various FOSS modules.
> Per your suggestion, I tried pasting these dlls from 3-4 different
> applications, one at a time, into \bin\emacs.exe dir, but I still get
> the same error.
> Since this was not going anywhere, I've decided to let the list know
> of this behaviour.
> Any suggestions?