查看单个帖子
旧 2007-05-20, 01:33 PM   #1
yogy
高级会员
 
注册日期: 06-11
帖子: 1527
精华: 15
现金: 6353 标准币
资产: 6353 标准币
yogy 向着好的方向发展
默认 How to get the status of dongle?

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
yogy离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)