阅读:2132回复:2
Passthru 自动安装求助
http://bbs.driverdevelop.com/read.php?fid=10&tid=107496&toread=1
驱网的帖子,附件有passthru自动安装的源码,可是在WDK6001.18001的环境编译不成功, 以下是截取的错误信息: LINK : error LNK2001: unresolved external symbol _mainCRTStartup errors in directory e:\ptinstall link : error LNK2001: unresolved external symbol _mainCRTStartup bindview.obj : error LNK2019: unresolved external symbol __wmakepath referenced in function "unsigned long __stdcall GetServiceInfFilePath_Passthru(unsigned short *,unsigned long)" (?GetServiceInfFilePath_Passthru@@YGKPAGK@Z) e:\ptinstall\bindview.obj : error LNK2019: unresolved external symbol __wmakepath referenced in function "unsigned long __stdcall GetServiceInfFilePath_Passthru(unsigned short *,unsigned long)" (?GetServiceInfFilePath_Passthru@@YGKPAGK@Z) bindview.obj : error LNK2019: unresolved external symbol __wsplitpath referenced in function "unsigned long __stdcall GetServiceInfFilePath_Passthru(unsigned short *,unsigned long)" (?GetServiceInfFilePath_Passthru@@YGKPAGK@Z) e:\ptinstall\bindview.obj : error LNK2019: unresolved external symbol __wsplitpath referenced in function "unsigned long __stdcall GetServiceInfFilePath_Passthru(unsigned short *,unsigned long)" (?GetServiceInfFilePath_Passthru@@YGKPAGK@Z) netcfgapi.obj : error LNK2001: unresolved external symbol __wsplitpath e:\ptinstall\netcfgapi.obj : error LNK2001: unresolved external symbol __wsplitpath e:\ptinstall\objchk_wxp_x86\i386\PassthruInstall.exe : fatal error LNK1120: 3 unresolved externals e:\ptinstall\objchk_wxp_x86\i386\passthruinstall.exe : error LNK1120: 3 unresolved externals 单他带的可执行程序PassthruInstall可以用,有达人帮看看,如何解决,非常感谢。 |
|
沙发#
发布于:2009-05-26 16:15
把Sources文件中USE_MSVCRT=1配置打开(去掉前面的注释符#即可)
|
|
板凳#
发布于:2009-05-26 16:19
把Sources文件中的USE_MSVCRT=1配置打开(就是去掉注释符#)
|
|