Example #1
0
BOOL TRegistry::SetStr(LPCSTR subKey, LPCSTR str)
{
	Wstr	subKey_w(subKey, strMode), str_w(str, strMode);

	return	SetStrW(subKey_w.s(), str_w.s());
}
Example #2
0
BOOL TRegistry::SetStrMW(const char *subKey, const WCHAR *str)
{
	Wstr	subKey_w(subKey, strMode);

	return	SetStrW(subKey ? subKey_w.s() : NULL, str);
}