I tried this code, but I'm getting an error.


Code:
LONG i = RegCreateKeyEx( HKEY_CURRENT_USER,"Folder name", 0,NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &hKey,lpdwDisp);
At this point where i need to put folder name i got this error. I tried to locate my folder multiple times but Im always getting this.



1 IntelliSense: argument of type "const char *" is incompatible with parameter of type "LPCWSTR"