Toolkit Tutorial: Advanced Programming


  dt_Handle program , object ;

 
/* create program object with a string object.  Use a
    sequence of string objects to pass arguments. */

 
object = dt_alloc_string ( 10 , "fingertalk" );
 
program = dt_alloc_program ( object );
 
dt_dealloc ( object );