几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   SolidWorks二次开发 (http://www.dimcax.com/hust/forumdisplay.php?f=111)
-   -   【转帖】apartment replaced with apartment to process attribute (http://www.dimcax.com/hust/showthread.php?t=5062)

yang686526 2009-04-13 08:53 AM

【转帖】apartment replaced with apartment to process attribute
 
'"apartment"' replaced with 'apartment' to process attribute
i have an old solidworks add-in created with vc++2003 and solidworks 2005. now i want to convert it into vc++2005 and solidworks 2008. in the stdafx. h, i changed the id_sldworks_tlb_major to 16, which i assume is the version number for solidworks 2008. then i compiled the project and got the following warnings:
bitmaphandler.h(24) : warning c4581: deprecated behavior: '"apartment"' replaced with 'apartment' to process attribute
swdocument.h(42) : warning c4581: deprecated behavior: '"apartment"' replaced with 'apartment' to process attribute
.. similar warnings appears in every where there is a line:
threading("apartment"),
and finally, i got an error:
project : error prj0019: a tool returned an error code from "registering the myproject addin with solidworks".
what is wrong here? thank you,
you are best creating a new add-in using the 2005/2008 template, then replacing the key files back into the new project (by key files i mean any ones you created not the add-in)


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