将pexports.exe放到X:\MicrosoftVisualStudioX.0\VC\bin目录下,在命令行里输入pexportsx.dll>x.def然后在输入lib/machine:ix86/def:x.def