![]() |
【转帖】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. |