CopyMinder Knowledge Base

Browse By Category:
 
Look Up Error Number:
 
Search:
 

Glossary   |   Contact Us


How do I ensure a web check does not occur in a time critical part of my code?

Views: 1095
Rating: -23
Rate It:
You can ensure that a protection check does not access the CopyMinder web sites during a time critical part of your program by forcing it to access the web site (if web access is required) before entering that part of the code.

The following should achieve this:
1.    Do a CM_CheckProtection( 0 ) before the time critical part of your program (e.g. at the start of your program).
2.    Do a CM_GetNextWebAccess to see if a web access is due soon.
3.    If a web access is due soon, do a CM_CheckProtection( CM_FORCE_WEB_ACCESS ).

Then, subsequent CM_FORCE_WEB_ACCESS( CM_NO_EXEC_CHECK|CM_NO_EXPIRY_CHECK|CM_NO_NEW_NET_USER ) calls will not normally access the web site.
More Help

If this article did not help you to solve your problem, please use the menu at the top of the page to browse or search more articles, or to contact our support team.

Others in this Category
  
articleI don't seem to have a CD-ROM with the CopyMinder software on it
 
articleMy computer hangs when installing the CopyMinder SDK
 
articleHow do I create a Trial Only installation?
 
articleHow do I find the .cm and .cm.log files?
 
articleWhy is a Product Key not in a Report I have produced?
 

© 2024 Microcosm Ltd.

Valid XHTML 1.0 Valid CSS 2.0