views:

248

answers:

1

i want to enter a text into TCHAR* argv[], how its possible to do.

OR how to convert from a character to TCHAR* argv[].

Please help

char randcount[]="Hello world";

want to convert to TCHAR* argv[]

A: 

One way to do is:

char a[] = "Hello world";
USES_CONVERSION;
TCHAR* b = A2T(a);
Naveen