AC Generator WEB is an ActiveX COM server component.

This component is intended for easy integration of generation of activation codes and validation of serial numbers for applications protected with any PC Guard Software Protection System family product over Internet connection.

Requirements

AC Generator WEB requires Windows based Web server. All example scripts were tested under IIS (Internet Information Services) Windows web server.

In case you are going to use PHP scripts you will need Windows edition of PHP with support for COM objects.

Samples

Sample Active Server Pages (ASP) and PHP scripts are also included for your reference.

ASP

acgweb-1.asp - ASP page with simple HTML form which collects site code, mid code and version of PC Guard.

acgweb-2.asp - This ASP page does actual call to activation code calculation and Machine ID decoding functions.


PHP

acgweb-1.php - PHP page with simple HTML form which collects site code, mid code and version of PC Guard.

acgweb-2.php - This PHP page does actual call to activation code calculation and Machine ID decoding functions.

Installation (server registration)

In order to use AC Generator WEB on your server you need to perform server registration by using REGSVR32 utility.

REGSVR32 <full path to>ACGWEB.DLL

for example:

REGSVR32 C:\WINDOWS\SYSTEM32\ACGWEB.DLL

NOTES:

- On 64-bit server operating systems like Windows Server 2003/2008 64-bit ACGWEB.DLL should be copied to:

C:\WINDOWS\SYSWOW64

and registered from there:

C:\WINDOWS\SYSWOW64\REGSVR32.EXE C:\WINDOWS\SYSWOW64\ACGWEB.DLL

- 32bit application mode should also be enabled in application pool. 

Usage

AC Generator WEB works like any other COM Server Component. 

Set required input properties, call a method and then check return code and appropriate output properties that would be set by called method.