几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   ObjectARX(C++) (http://www.dimcax.com/hust/forumdisplay.php?f=34)
-   -   【转帖】[arx]cstring在自定义实体中的应用 (http://www.dimcax.com/hust/showthread.php?t=6420)

yang686526 2009-04-16 11:41 AM

【转帖】[arx]cstring在自定义实体中的应用
 
[arx]cstring在自定义实体中的应用
[arx]cstring在自定义实体中的应用
个位大侠,请问cstring应用在自定义实体中有什么条件?看例子curvetext有使用,没问题,为什么我在自定义实体类中用cstring定义字符串变量,编译时出现"未声明的标识符"或者链接错误?下面是错误描述:
哪位大侠帮忙指出问题所在,或者大家对这个问题深入讨论一下?!!
没有包含mfc选项!
是包含了,但是没有链接
链接的时候使用多线程dll而不是多线程调试dll,
stdafx.h里面这样写,这段来自sdk的arx wizard:
#if defined(_debug) && !defined(_fulldebug_)
#define _debug_was_defined
#undef _debug
#pragma message (" compiling mfc / stl / atl header files in release mode.")
#endif
//----- objectarx and omf headers needs this
#include <map>
//-----------------------------------------------------------------------------
#include <afxwin.h> //----- mfc core and standard components
#include <afxext.h> //----- mfc extensions
//-----------------------------------------------------------------------------
#ifdef _debug_was_defined
#define _debug
#undef _debug_was_defined
#endif
我的qq 172522850


所有的时间均为北京时间。 现在的时间是 02:22 AM.