chore: explicit unicode
This commit is contained in:
parent
729c3973b8
commit
41607ad9f2
|
|
@ -29,17 +29,17 @@ BOOL __fastcall CRobloxApp__InitInstance_hook(CRobloxApp* _this)
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
if (!hasAuthenticationUrl)
|
if (!hasAuthenticationUrl)
|
||||||
{
|
{
|
||||||
MessageBoxA(nullptr, "Missing authentication URL", "Kiseki", MB_OK | MB_ICONERROR);
|
MessageBoxW(nullptr, L"Missing authentication URL", L"Kiseki", MB_OK | MB_ICONERROR);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!hasAuthenticationTicket)
|
if (!hasAuthenticationTicket)
|
||||||
{
|
{
|
||||||
MessageBoxA(nullptr, "Missing authentication ticket", "Kiseki", MB_OK | MB_ICONERROR);
|
MessageBoxW(nullptr, L"Missing authentication ticket", L"Kiseki", MB_OK | MB_ICONERROR);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!hasJoinScriptUrl)
|
if (!hasJoinScriptUrl)
|
||||||
{
|
{
|
||||||
MessageBoxA(nullptr, "Missing join script URL", "Kiseki", MB_OK | MB_ICONERROR);
|
MessageBoxW(nullptr, L"Missing join script URL", L"Kiseki", MB_OK | MB_ICONERROR);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
@ -54,7 +54,7 @@ BOOL __fastcall CRobloxApp__InitInstance_hook(CRobloxApp* _this)
|
||||||
if (!hasJobId)
|
if (!hasJobId)
|
||||||
{
|
{
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
MessageBoxA(nullptr, "Missing job ID", "Kiseki", MB_OK | MB_ICONERROR);
|
MessageBoxW(nullptr, L"Missing job ID", L"Kiseki", MB_OK | MB_ICONERROR);
|
||||||
#endif
|
#endif
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -53,8 +53,8 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserv
|
||||||
if (patchesError != NO_ERROR)
|
if (patchesError != NO_ERROR)
|
||||||
{
|
{
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
std::string message = "Patches::Apply returned " + std::to_string(patchesError);
|
std::wstring message = "Patches::Apply returned " + std::to_string(patchesError);
|
||||||
MessageBoxA(nullptr, message.c_str(), nullptr, MB_ICONERROR);
|
MessageBoxW(nullptr, message, nullptr, MB_ICONERROR);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ExitProcess(EXIT_FAILURE);
|
ExitProcess(EXIT_FAILURE);
|
||||||
|
|
@ -64,8 +64,8 @@ BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserv
|
||||||
if (curlError != CURLE_OK)
|
if (curlError != CURLE_OK)
|
||||||
{
|
{
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
std::string message = "curl_global_init returned " + std::to_string(curlError);
|
std::wstring message = "curl_global_init returned " + std::to_string(curlError);
|
||||||
MessageBoxA(nullptr, message.c_str(), nullptr, MB_ICONERROR);
|
MessageBoxW(nullptr, message, nullptr, MB_ICONERROR);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ExitProcess(EXIT_FAILURE);
|
ExitProcess(EXIT_FAILURE);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue