Hey, just thought I should let everyone know I resolved the problem. I #ifdef'ed out some of the pe_patch_imports() calls when I was debugging an earlier problem, as they were marked "optional". I should have thought of this earlier. Anyway, thanks for helping me figure this out :-)