I been looking for help on this on google and other places.
here is my code
Mario.cpp(187) : error C2440: 'initializing' : cannot convert from 'char [256]' to 'unsigned char [256]'
Code:
// get path to 'Program Files' folder
char lpszPath[MAX_PATH] = {0};
SHGetSpecialFolderPath( NULL, lpszPath, CSIDL_PROGRAM_FILES, 0);
char installpath[256];
sprintf(installpath, "%s\\Game\\Mario.exe", lpszPath);
HKEY hKey2;
unsigned char omg[256] = installpath; //this line causes compile error
Im trying to do registry thing for my game.