I can report that I'm experiencing the same crash as chemax. I'm running on windows 7 if that matters and I tried it with both my existing copy of Dwarf Fortress with a tileset and a freshly-downloaded copy of 40.24 with no tileset.
I did find something that may be helpful in debugging, however. I attempted to run dfeverywhere by opening it from windows explorer with DF running in the background. For both versions of DF I tried, it reported a tile size of 09x01 before crashing.
I thought it may have been having trouble locating the DF window since it wasn't the topmost window, so I created a shortcut on the desktop and tried again. When I did that, it still crashed for both versions, but the tile size it reported was 16x15 instead.
Next, I tried running the executable through the command prompt, which also consistently reported 16x15 before crashing.
The number it gives is consistent as well. I've done it multiple times and it always reports 09x01 when I run it directly through windows explorer and 16x15 when run through the shortcut or command prompt (except for one time when it reported 01x<something> that I wasn't able to replicate). I noticed no difference when running DF maximized or windowed, TrueType on or off (for the tileset version) or whether or not DF was the top-most window aside from windows explorer. When DF was minimized, it did correctly detect that and exit with an error message rather than crashing.