Can u Give solution for this code of typecasting, LPCTSTR(here lpsubkey) to Char*
for below code snippet ,
char* s="HKEY_CURRENT_USER\\";
strcat(s,(char*)lpSubKey);
printf("%S",s);
here it makes error of access violation ,so what will be the solution for that?.
...thanks in advance strcat(s,(char*)lpSubKey ); -------------------
以上就是Typecast:LPCTSTR to Char * for string concatenate operation的详细内容,更多请关注web前端其它相关文章!