equal
deleted
inserted
replaced
31 printf("retval1 value is %d\n", retval1); |
31 printf("retval1 value is %d\n", retval1); |
32 |
32 |
33 char * src2= des1; |
33 char * src2= des1; |
34 TPtr16 des2 ((unsigned short*)" ",30); |
34 TPtr16 des2 ((unsigned short*)" ",30); |
35 wchar_t *aPtr = new wchar_t[50]; |
35 wchar_t *aPtr = new wchar_t[50]; |
36 retval2= CharpToTptr16(src2,aPtr,des2); |
36 retval2= CharpToTptr16(src2,des2); |
37 printf("retval2 value is %d\n", retval2); |
37 printf("retval2 value is %d\n", retval2); |
38 |
38 |
39 TPtr16 src3= des2; |
39 TPtr16 src3= des2; |
40 string des3; |
40 string des3; |
41 retval3= Tptr16ToString(src3,des3); |
41 retval3= Tptr16ToString(src3,des3); |
42 printf("retval3 value is %d\n", retval3); |
42 printf("retval3 value is %d\n", retval3); |
43 |
43 |
44 string src4= des3; |
44 string src4= des3; |
45 RBuf16 des4; |
45 RBuf16 des4; |
|
46 des4.CreateL(30); |
46 retval4= StringToRbuf16(src4,des4); |
47 retval4= StringToRbuf16(src4,des4); |
47 printf("retval4 value is %d\n", retval4); |
48 printf("retval4 value is %d\n", retval4); |
48 |
49 |
49 RBuf16 src5; |
50 RBuf16 src5; |
50 src5.Create(des4); |
51 src5.Create(des4); |