Sergey Guralnik <ser...@etersoft.ru> writes:

> @@ -202,6 +228,9 @@ int PASCAL wWinMain(HINSTANCE hInstance, HINSTANCE prev, 
> LPWSTR cmdline, int sho
>      WCHAR path[MAX_PATH];
>      LPCWSTR cabfile = NULL;
>  
> +    extr_printf = (void*)GetProcAddress(LoadLibraryA("msvcrt"), "printf");
> +    if(!extr_printf)
> +        return 1;

Mixing C runtimes is not a good idea.

-- 
Alexandre Julliard
julli...@winehq.org


Reply via email to