几何尺寸与公差论坛

 找回密码
 注册
查看: 3008|回复: 2

How to get the status of dongle?

[复制链接]
发表于 2007-5-20 13:33:48 | 显示全部楼层 |阅读模式
Q:


Dear,

How to get the status of dongle? If no dongle, SW application is still running in the background or foreground, and locked.

Now I find a way to get Errors with GetErrorMessages. I want to know more details of GetErrorMessages

GetErrorMessages from SW API as follows:

m_pSldWorks.GetErrorMessages(&msgs,&msgIDs,&msgTypes);

Which type or ID is relative to the status of dongle?

By the way, it took about 1’ when my program runs or loads SW Application.

It is a better way to get the status of dongle before my program runs SW application. If no dongle, my program would not be able to create the dispatch to SW application.
Yanhua
 楼主| 发表于 2007-5-20 13:34:13 | 显示全部楼层

回复: How to get the status of dongle?

R:



I am sorry, we do not have API access to the security information of SW.  The GetErrorMessages does not provide information regarding the dongle status.



You will likely want to kill the SW process as there would not be another alternative to shut it down if SW is started in the background.





Regards,

-Earl
发表于 2007-6-1 17:19:05 | 显示全部楼层

回复: How to get the status of dongle?

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

本版积分规则

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

GMT+8, 2024-12-23 01:23 , Processed in 0.038364 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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