Just wondering - is this dwrap patch similar to ddhack? I recall I could not use get ddhack to work except by calling it from inside another patch.
Yes it is, in fact dwrap used ddhack as a starting point, but it was extensively modified in order to get it to work with WC4DVD (and in order to get it to play along with Dxmci... which, in turn, had to be altered to be aware of some tricks dwrap was doing).
I recall i could not get the original ddhack to run on my XP machines either. I'm curious however, what do you mean by calling it from another patch? You may want to give your solution a try, to see if it helps.
I've been unable to reproduce this issue on my test machines so far, but from your log and some disassembling, I'm trying to get an idea of what is going wrong. In the meantime, here's a new DLL. It mostly adds some debug messages , which are dumped to dwrap_debug.txt as the game runs. Please try running the game with these and post this file. Also, i made a small tweak for good measure, so let me know if anything happens differently (please post the new crash log as well, so I can check for differences).