几何尺寸与公差论坛

 找回密码
 注册
查看: 732|回复: 0

【转帖】apartment replaced with apartment to process attribute

[复制链接]
发表于 2009-4-13 08:53:56 | 显示全部楼层 |阅读模式
'"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)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 23:28 , Processed in 0.034404 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表