[PATCH 2/2 v3] mscoree: add stub for CorGetSvc to hint user at broken .Net installation, and show some tips to correct this.

Alexandre Julliard julliard at winehq.org
Wed Jul 11 11:18:59 CDT 2018


Louis Lenders <xerox.xerox2000x at gmail.com> writes:

> +HRESULT WINAPI CorGetSvc(IUnknown **pIUnknown)
> +{
> +    typedef INT (WINAPI *MessageBoxA)(HWND,LPCSTR,LPCSTR,UINT);
> +    HMODULE hUser32 = LoadLibraryA("user32");
> +    MessageBoxA pMessageBoxA = (void *)GetProcAddress(hUser32, "MessageBoxA");
> +
> +    FIXME("%p stub\n",pIUnknown);
> +    if (pMessageBoxA)

Is there any reason to load the function dynamically?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list