|
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 |
|