几何尺寸与公差论坛

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

【转帖】32bit addin cannot work at 64bit pc

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

本版积分规则

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

GMT+8, 2024-12-23 22:09 , Processed in 0.034499 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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