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

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   SolidWorks二次开发 (http://www.dimcax.com/hust/forumdisplay.php?f=111)
-   -   【转帖】solidworks query - clsid (http://www.dimcax.com/hust/showthread.php?t=5770)

yang686526 2009-04-13 02:33 PM

【转帖】solidworks query - clsid
 
solidworks query - clsid
i needed help. i have been working on a vc 6 project that has to work on solidworks. i have been able to create an instance using cocreateinstance and have been sucessfull in getting mass properties from solidworks api.
but i needed to know if solidworks is installed on a particular machine using the clsid.
but i done know how to do that.... if there any way using the clsid that i can find out if solidworks is installed or not. if it is not installed then i need not to do "cocreateinstance".
could u please help in telling how to do this....


所有的时间均为北京时间。 现在的时间是 08:44 AM.