LONG res = RegDeleteValue(vbKey, key);
if(regEnabled) { LONG res = RegDeleteValue(vbKey, key); } else { WritePrivateProfileString(VBA_PREF, key, NULL, VBA_INI); }
void regDeleteValue(char *key){  LONG res = RegDeleteValue(vbKey,                            key);}