几何尺寸与公差论坛

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

【转帖】doc manager api requires presence of solidworks explorer

[复制链接]
发表于 2009-4-12 18:00:19 | 显示全部楼层 |阅读模式
doc manager api requires presence of solidworks explorer?
it appears to me that the solidworks explorer application must be installed on the host computer in order for a program to successfullly call and use the doc mgr api? i can't get my program to run on computers where solidworks explorer is not installed...but it does run on computers where sw explorer is present.
has anyone else had the same experience?
barry,
i haven't tried - so i don't know, but just for the record: did you copy and register the swdocumentmgr.dll to the other computers?
jorn bjarning
cswp
cad & plm consultant
sw2008 sp5 / sw2009 sp2
well, i did include the .dll as a reference within visual studio...
but i did not "register" it. can you advise how to do this? thanks!
barry, maybe i was too fast. i am not sure you actually need to register the dll. i'll check it out in a minute.
jorn bjarning
cswp
cad & plm consultant
sw2008 sp5 / sw2009 sp2
barry,
found this in the api help - look in the getting started section in the sw dm api help chapter:
-----
installation
the solidworks document manager api is a com object contained in swdocumentmgr.dll. this dll, implode.dll, and zlib.dll were automatically installed in the following folder if you installed the solidworks software:
:\program files\common files\solidworks shared
swdocumentmgr.dll was also automatically registered if you installed the solidworks software.
if you did not install the solidworks software on the system where you want to use this api, you can manually register swdocumentmgr.dll. both implode.dll and zlib.dll must either reside in the same folder or be accessible via the windows search path.
to manually register swdocumentmgr.dll:
click start, run.
in the dialog box, type:
regsvr32 ":\program files\common files\solidworks shared\swdocumentmgr.dll"
click ok.
click ok again.
note: install programs, such as installshield®, can automatically register the dll for you.
to manually unregister swdocumentmgr.dll:
click start, run.
in the dialog box, type:
regsvr32 /u ":\program files\common files\solidworks shared\swdocumentmgr.dll"
click ok.
click ok again.
you can redistribute swdocumentmgr.dll, implode.dll, and zlib.dll.
jorn bjarning
cswp
cad & plm consultant
sw2008 sp5 / sw2009 sp2
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-22 18:39 , Processed in 0.034777 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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