yang9111 发表于 2007-11-28 13:23:44

link 错误

从别人拿来的代码, 编译出现如下连接错误,请高手指教。
4 Project link errors
   Undefined symbol '_main' referenced in "c:\measurementstudio\cvi\bin\cvistart.lib".
   Undefined symbol '_iBoSeCommsType' referenced in "BodysenseElectronicTest_GMLAN.c", "BodySenseElectronicTest_Main.c", "gds.c", "rrm_wrm.c"....
   Undefined symbol '_iActiveEnvironment' referenced in "BodySenseElectronicTest_Main.c" and "StartPage.c".
   Undefined symbol '_iBoSeConnectType' referenced in "BodysenseElectronicTest_BOSE.c", "BodysenseElectronicTest_GMLAN.c", "MGW_Script_File.c"....

cpubbs 发表于 2007-11-28 13:51:38

好像是一些DLL的相关的东西没有包含到似的!有些DLL在程序最前面加上windows.h应该就可以的,您试试您的加上试试看行不行呢?好运!

yang9111 发表于 2007-11-28 15:02:21

把所有的工程文件都删除了,又从新加一遍就可以了,真不知道为啥

yang9111 发表于 2007-11-28 15:04:28

还有个问题, 在一个ring控件中加了2项,编译执行后没任何变化,什么原因 呢?
页: [1]
查看完整版本: link 错误