几何尺寸与公差论坛------致力于产品几何量公差标准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-12, 10:36 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】swvbaddin for sw 2009sp1 on vista 64 does not work oob

swvbaddin for sw 2009sp1 on vista 64 does not work oob
vista 64 business
solidworks 2009 sp 1
visual studio 2005 w/ sp1 and vista sp1 upgrade
created a new addin using the swvbaddin template. builds clean, but does not register in hklm/software/solidworks/addins. does not show up in sw addins list when running in "debug" mode. same steps work on vista 32.
your building your project as a 32bit app so it is registering itself in the wow32 registry not the true 64bit reg. change your solution build platform to x64
is that a "firm" must be a true 64bit and not "any cpu"?
re: recommendation received from sw is for "any cpu".
no change to x64, if you choose any cpu it allows it to be marshalled as either but you cannot compile a dll as both 32 or 64bit, so when it comes to running a com registration command it will pick up the 32bit reg by default.
makes sense.
the interesting thing is, as soon as x64 is chosen as the compile option and a buiild is performed vs2005 reports that the addin "is not a valid assembly".
thats because it is trying to register on wow32 as standard. just ignore that. has it worked for you in swx64 now then?
no, it hasn't. as soon as the target cpu is changed to x64 i get a "is not a valid assembly" error message that prevents using it.
i've got the same issue. had no problems developing vb6 add-ins on 32-bit. getting the same issue on 64-bit vista ultimate and vs2005/2008.
brian titus, cswp
zeometric llc
dell precision m6300
solidworks office premium 2007/2008/2009
try to manually load the add-in by just file->open... 'ing the dll directly to see if that works first.
no go. get an error message of "failed to initialize add-in".
i've even tried compiling the "sample" add-in and it gives the same result in vista x64 + vs2008
brian titus, cswp
zeometric llc
dell precision m6300
solidworks office premium 2007/2008/2009
quick
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
回复


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

高级搜索
显示模式

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

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



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


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