Niiiice.
DT is using something that depends on Windows kernel internals and it failed. Well. That obviously sucks, but without some debugging, there's no telling what caused the error.
Just look at it:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms684280(v=vs.85).aspx[NtQueryInformationProcess may be altered or unavailable in future versions of Windows. Applications should use the alternate functions listed in this topic.]
It should be clear that this should *never* be used in application code.
So, could be just a plain old windows update breaking/entirely removing this. Could be an over-eager antivirus protection thingie disabling said function for all user applications (I wouldn't be surprised). Could be something nasty hiding in your Windows install.
Did this just start to happen without any obvious trigger while the tools worked previously or did you just install those things and found out that they don't work?
There is no string in Foreman that would say 'cant locate'. I found 'Unable to find Dwarf Fortress.exe!' though. The functions this uses are a bit more sane and stable, but it fails all the same...
* peterix is puzzled
Btw. this has nothing to do with the DF mods you have added. This is a problem with the operating system not responding as DT/Foreman expects.
Can you try if the current release of DFHack works? I'm using a similar approach to Foreman there, but from inside DF (it doesn't have to look for DF, but just asks where is the .exe loaded into memory, from inside the process. If there's something blocking other processes from looking at that info and not DF itself, DFHack will work.)
Try to find and post any log files the tools produced. And try to run the tools as administrator.