zhbt5257 发表于 2007-7-23 11:16:00

[求助]hello程序编译不过去~??

正在编译...
HelloWorld.cpp
e:\objectarx 2006\inc\aced.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
正在链接...
mfcs70.lib(dllmodul.obj) : error LNK2005:已经在 Hello1.obj 中定义
D:\2007年工程\天津工作票\2006_Program\Hello1\Debug\Hello1.arx : fatal error LNK1169: 找到一个或多个多重定义的符号
生成日志保存在“file://d:\2007年工程\天津工作票\AutoCAD2006_Program\Hello1\Hello1\Debug\BuildLog.htm”
Hello1 - 2 个错误,1 个警告
——哪位大哥知道这是什么原因???怎么解决呀??
我用的是.net05和AutoCAD06
**** Hidden Message *****

BDYCAD 发表于 2007-7-23 17:45:00

最好要VS.NET2002版,别的就很难用来做2004~2006版CAD用的ARX

swordway 发表于 2007-8-1 22:57:00

可能是某个函数参数的定义和执行不匹配吧。

Andyhon 发表于 2007-8-2 14:57:00

如果您要用 请参考这里
http://www.manusoft.com/Resources/ARXTips/Index.stm
Using VC 8 (Visual Studio 2005) to Build for AutoCAD 2000/2002/2004
页: [1]
查看完整版本: [求助]hello程序编译不过去~??