CopyMinder Knowledge Base

Browse by Category:
 
Lookup 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: 925
Rating: -22
Rate It:
Print
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.

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?
 



Microcosm Ltd.

Valid XHTML 1.0    Valid CSS 2.0