IT WORKS!! :) It was changing the order of the paths in the vcvars32.bat which did the trick. Having them in this order: 1. MSVC Toolkit 2003 2. Platform SDK seems to be necessary in order for the linker to do the right thing.