ISISGetASCIITagChoiceCount example for C++ Builder
int n;
int x;
char * szChoice= NULL;
LEADISIS1->ISISLoadDriver ( ) ;
LEADISIS1->ISISGetASCIITagChoiceCount ( TAG_PAGESIZE, &n );
ShowMessage ( "Scanner has " + IntToStr(n) + " choices" ) ;
for (x= 0; x< n; x ++ )
{
LEADISIS1->ISISGetASCIITagChoice ( TAG_PAGESIZE, x, &szChoice ) ;
ShowMessage ("Choice: " + IntToStr(x) + " Value: " + szChoice ) ;
if ( szChoice )
{
GlobalFree ( szChoice ) ;
szChoice = NULL;
}
}
LEADISIS1->ISISUnloadDriver ( ) ;