CPatchFile::CPatchFile

The CPatchFile constructor initializes the library and validates the specified user license key at runtime.

CPatchFile();

Parameters

None.

Return Values

If the function succeeds, the return value is non-zero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Remarks

If the constructor fails to validate the license, subsequent methods in this class will fail. If the internally-specified license key is NULL, the client library will only function on the development system. Before redistributing the application to an end-user, you must insure that this function is called with a valid license key.

Requirements

Windows NT/2000/XP: Requires Windows NT 4.0 SP3 or later.
Windows 95/98: Requires Windows 95 or later.
Header: Include apatch.h.
Library: Use apatch32.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT/2000/XP.