(1)Function declaration
DECLARE integer   DIC_Find IN Dic32U.dll
DECLARE integer   DIC_FindByMgrCode IN Dic32u.dll string @pMgrCode
DECLARE integer   DIC_Open IN Dic32U.dll integer hic, string @  reader_name
DECLARE integer   DIC_Close  IN Dic32U.dll  integer   hic
DECLARE integer   DIC_Create  IN Dic32U.dll  string @  filename, string @  mfname, string  atr, long atrlen
DECLARE integer   DIC_GetVersion  IN Dic32U.dll  string @  ver
DECLARE integer   DIC_Command  IN Dic32U.dll  integer  hic, integer cmd, string @  cmddata
DECLARE integer   DIC_Get  IN Dic32U.dll  string @  xdata, integer  p1, integer   p2, string @  buffer
DECLARE integer   DIC_Set  IN Dic32U.dll  string @  xdata, integer  p1, integer  p2, integer   p3, string @  buffer

(2)All constants are defined in Dic32.h, please use #include "Dic32.h"

(3)Note.
   When write codes to ROCKEY in sample11, please follow the steps below:
      (A) Convert the array into decimal number based on unsigned char, and then get a string
//C codes sample========================================================================
#define DIST_SIZE  72
unsigned char g_progDIST[DIST_SIZE]=
{
	0x04,0x00,0x00,0x00,0x00,0x00,0x15,0x04,0x04,0x00,0x84,0x05,0x0c,0x02,0x05,0x0c,
	0x02,0x05,0x0c,0x02,0x84,0x05,0x0c,0x04,0x05,0x0c,0x04,0x05,0x0c,0x04,0x82,0x05,
	0x0c,0x06,0x05,0x0c,0x02,0x05,0x0c,0x04,0x01,0x01,0x0c,0x0a,0x00,0x03,0x01,0x01,
	0x0c,0x0b,0x00,0x61,0x01,0x01,0x0c,0x0c,0x00,0x02,0x01,0x05,0x0c,0x0d,0x04,0x06,
	0x00,0x1e,0x01,0x0c,0x0a,0x00,0x08,0x17,
};
	FILE *fp=fopen("data.txt","wt");
	for(i=0 ;i<DIST_SIZE;i++)
		fprintf(fp,"%03d",(byte)g_progDIST[i]);
	fclose(fp);
//======================================================================================

then you get a data.txt as
004000000000000000021004004000132005012002005012002005012002132005012004005012004005012004130005012006005012002005012004001001012010000003001001012011000097001001012012000002001005012013004006000030001012010000008023

    (B)store the string into a variable in VFP
store '004000000000000000021004004000132005012002005012002005012002132005012004005012004005012004130005012006005012002005012004001001012010000003001001012011000097001001012012000002001005012013004006000030001012010000008023' to g_progDIST

   (C)use a temp veriable to abstract the data into DIC_Set
	buffer=space(256)
	for i=0 to DIST_SIZE-1 
	       temp = substr(g_progDIST,i*3 + 1 ,3)
	       DIC_Set( @buffer ,i ,bitor(BY_STRING,1) ,0,@temp )
	endfor