|
|
@ -1734,15 +1734,15 @@ int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nC |
|
|
|
needExit = !TGRunTOSDialog (); |
|
|
|
needExit = !TGRunTOSDialog (); |
|
|
|
else |
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|
HINSTANCE hRichEdDll = LoadLibrary("RICHED20.DLL"); |
|
|
|
HINSTANCE hRichEdDll = LoadLibrary("RICHED20.DLL"); |
|
|
|
INT_PTR val = ::DialogBoxParam( hInst, MAKEINTRESOURCE( IDD_URULOGIN_EULA ), NULL, UruTOSDialogProc, (LPARAM)hInst); |
|
|
|
INT_PTR val = ::DialogBoxParam( hInst, MAKEINTRESOURCE( IDD_URULOGIN_EULA ), NULL, UruTOSDialogProc, (LPARAM)hInst); |
|
|
|
FreeLibrary(hRichEdDll); |
|
|
|
FreeLibrary(hRichEdDll); |
|
|
|
if (val <= 0) { |
|
|
|
if (val <= 0) { |
|
|
|
DWORD error = GetLastError(); |
|
|
|
DWORD error = GetLastError(); |
|
|
|
needExit = true; |
|
|
|
needExit = true; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
curl_global_cleanup(); |
|
|
|
curl_global_cleanup(); |
|
|
|
|
|
|
|
|
|
|
|