Remember that 'string' is a bad variable name to use, as it is already part of the std namepsace of the header <string>. You should use a more descriptive name too, such as:
Code:char *lpchString; //Indicates that the variable is a pointer to a char