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


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 仿射空间:CAX软件开发(三)二次开发与程序设计 » CAD二次开发 » SolidWorks二次开发
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


回复
 
主题工具 搜索本主题 显示模式
旧 2009-04-13, 08:36 AM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】32bit addin cannot work at 64bit pc

32bit addin cannot work at 64bit pc
i developed a 32 bit solidworks addin. i copied whole source code to a 64 bit workstation (windows xp pro). when i pushed f5 to compile, solidworks 2008 will be invoked. but i cannot find entry of this addin.
then i tried to build another addin using 2006 sdk (the latest version i have) at this 64bit workstation. visual studio 2005 cannot create the addin with the sdk template.
anybody knows how to build an addin at 64bit computer?
many thanks. it is emergent.
newform
do you have the proper references to the 64bit resources for solidworks?
i have changed all references already. i removed all solidworks related reference and then added references found at this workstation. actually, i added all references related to solidworks (at this workstation). but some references are still missing such as solidworkstools and solidworkstools.file. i don't know where i can find it.
edited: 10/02/2008 at 01:18 pm by newform newform
have you set up the x64 build target for the addin project? you do not have to make a separate project, just set up the build target and check the references (either 32bit or 64bit - no matter - the type libraries of sldworks are the same and platform-indepndent).
regards, basil
"and when you loose control,
you'll reap the harvest you have sown..." (c) pink floyd
solidworks 2008 x64 sp5.0 (production)
solidworks 2009 x64 sp2.0 (testing)
windows xp x64 sp2
core2quad 6600, 4gb ram, 500gb sata, ati firegl v7700 1024mb (softmodded from hd3850), 19" tft
edited: 10/02/2008 at 01:32 pm by basil gello
i set the platform target as "x64" from the property of my add-in. after compiling the source code, solidworks 2008 is invoked. i manually added the addin from "tools" - "addin". but there is no entrance at the menu bar. have no idea about that.
edited: 10/02/2008 at 02:15 pm by newform newform
hi, basil,
i am not sure if i set up x64 build target correctly. could you please tell me the set-up procedure? many thanks
hi, guys,
i got the solution using regasm.exe to register my addin. but i need recompile the source code at the 64bit pc.
anyway, many thanks
newform
i am having the same problem and i'm unclear on the solution.
i see that i can set /machine:x86 or /machine:x64 in my linker settings (i'm using c++ with msvc 2005) but do i need to build 2 versions of my addin? one for 32-bit and one for 64-bit?
and do i need to build the 64-bit version on a 64-bit computer?
thanks in advance,
pete
pete rimkus
cnc software, inc.
(pete.rimkus@mastercam.com)
quick
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
回复


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】calling a sw addin from exe-file yang686526 SolidWorks二次开发 0 2009-04-12 05:42 PM


所有的时间均为北京时间。 现在的时间是 05:42 PM.


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多