几何尺寸与公差论坛

 找回密码
 注册
查看: 2461|回复: 1

Which functions of ISldWorks should I use to catch the error without relative

[复制链接]
发表于 2007-9-4 13:48:24 | 显示全部楼层 |阅读模式
Which functions of ISldWorks should I use to catch the error when the relative USB dongle is removed? [SR-1-348618481]
Scenery:



1. Software: SolidWorks Office Professional 2006 Solution Partner with an license, an register code and an USB dongle

2. Development tool: VC 7.0

3. I get an error dialog if I remove the relative USB dongle

Goal: I need to catch the error information from ISldWorks interface or other Interface when the relative USB dongle is removed. In other words, I need parameters to verify the state of SW_dongle.

API Question as follows:

Which functions of ISldWorks should I use to catch the error when the relative USB dongle is removed?

Best wishes, yanhua
 楼主| 发表于 2007-9-4 13:48:51 | 显示全部楼层

回复: Which functions of ISldWorks should I use to catch the error without re

Hello Yanhua,

  

I assume you are seeing a message like:

  

    "A problem was encountered accessing the proper security device."

  

or:

  

    "A problem was encountered accessing the proper security device. The device may be missing or have invalid information. The application will be terminated immediately."

  

  

As a result SolidWorks will close down. As part of the shutdown it will unload add-ins.

  

For my understanding, what is it you would like to achieve ?

  

Regards,

  

    Frank
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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