[PATCH 1/2] extrac32: Add /D switch support.

Alexandre Julliard julliard at winehq.org
Mon Apr 22 05:42:33 CDT 2013


Sergey Guralnik <serhio at 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
julliard at winehq.org



More information about the wine-devel mailing list