http://blog.csdn.net/code_see/article/details/6301768
备注:
1.系统环境变量中要有VC的环境变量,否则编译会进行不下去。
include变量中添加D:\Program Files\Microsoft Visual Studio\VC98\ATL\Include;D:\Program Files\Microsoft Visual Studio\VC98\MFC\Include;D:\Program Files\Microsoft Visual Studio\VC98\Include
lib变量中添加D:\Program Files\Microsoft Visual Studio\VC98\Lib;D:\Program Files\Microsoft Visual Studio\VC98\MFC\Lib
path中添加 D:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;D:\Program Files\Microsoft Visual Studio\VC98\Bin
2.STLPort编译完成后把bin目录下的几个DLL库copy到system32下去。