(SQL Server) Unlocks the Chilkat Imap Class
Demonstrates how to unlock the Chilkat IMAP functionality. The UnlockComponent method should be called once at the beginning of the program. Once unlocked, all subsequent objects are created in the unlocked state. There is no need to call UnlockComponent for every instance of a Chilkat object.
The object that called UnlockComponent may be discarded (deleted, deallocated, etc.). It does not need to remain in existence for subsequent objects to be already unlocked when created.
Also, the LastErrorText method can be examined to verify that a purchased unlock code was indeed recognized.
-- Important: See this note about string length limitations for strings returned by sp_OAMethod calls.
--
CREATE PROCEDURE ChilkatSample
AS
BEGIN
-- See Global Unlock Sample for sample code.
END
GO
|