CopyMinder Knowledge Base

Browse by Category:
 
Lookup Error Number:
 
Search:
 

Glossary   |   Contact Us


Where is the .cm file located

Views: 2025
Rating: 10
Rate It:
Print

The <program name>.cm file can be in a number of possible locations.

From release 46 of the .cm file onwards, CopyMinder looks in the following locations for the .cm file: 

  1. If there is a <program name>.cm.ini file in the same folder as the protected program and it contains a Path variable, then it will look for the .cm file in that path.  
  2. If the API method of protection was used and the CM_SetPath function has been called then it will look in the specified path.
  3. It will look in ProgramPath, i.e. the path containing your protected program
  4. It will look in ProgramPathcm where ProgramPath is the path containing your protected program
  5. It will look in APPDATADIDProdCodecm where APPDATA is a variable specified in the Windows Environment, did is your unique CopyMinder Developer ID and ProdCode is the Product Code you specified for this product (e.g. C:Documents and SettingsUser1Application DataAABCcm).
  6. It will look in ALLUSERSPROFILEdidProdCodecm where ALLUSERSPROFILE is a variable specified in the Windows Environment, did is your unique CopyMinder Developer ID and ProdCode is the Product Code you specified for this product (e.g. C:ProgramDataAABCcm).

Prior to release 46 of the .cm file, CopyMinder looks in the following locations for the .cm file:

  1. If there is a <program name>.cm.ini file in the same folder as the protected program and it contains a Path variable, then it will look for the .cm file in that path.  
  2. If the API method of protection was used and the CM_SetPath function has been called then it will look in the specified path.
  3. It will look in APPDATAdidProdCodecm where APPDATA is a variable specified in the Windows Environment, did is your unique CopyMinder Developer ID and ProdCode is the Product Code you specified for this product (e.g. C:Documents and SettingsUser1Application DataAABCcm).
  4. It will look in ALLUSERSPROFILEdidProdCodecm where ALLUSERSPROFILE is a variable specified in the Windows Environment, did is your unique CopyMinder Developer ID and ProdCode is the Product Code you specified for this product (e.g. C:ProgramDataAABCcm).
  5. It will look in ProgramPath, i.e. the path containing your protected program
  6. It will look in ProgramPathcm where ProgramPath is the path containing your protected program

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