UnlockSupport example for C++ Builder

/*Unlock Document support.*/ 
   /*Note that this is a sample key, which will not work in your toolkit.*/ 
   LEADTwain1->UnlockSupport ( L_SUPPORT_DOCUMENT, "TestKey" ); 
 if ( LEADTwain1->IsSupportLocked (L_SUPPORT_DOCUMENT) ) 
      ShowMessage("Document Support Locked");
   else
      ShowMessage("Document Support is available");