(Java) Demonstrates UnlockComponent for MailMan
Demonstrates how to unlock the Chilkat MailMan functionality. The UnlockComponent method should be called once at the beginning of the program. Once unlocked, all subsequent MailMan objects are created in the unlocked state. There is no need to call UnlockComponent for every instance of a Chilkat MailMan 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.
import com.chilkatsoft.*;
public class ChilkatExample {
static {
try {
System.loadLibrary("chilkat");
} catch (UnsatisfiedLinkError e) {
System.err.println("Native code library failed to load.\n" + e);
System.exit(1);
}
}
public static void main(String argv[])
{
// See Global Unlock Sample for sample code.
}
}
|