[1/7] msvcrt: Initialize the environ global variables on DLL load.

Alexandre Julliard julliard at winehq.org
Tue Sep 28 10:34:35 CDT 2010


Andrew Nguyen <anguyen at codeweavers.com> writes:

> +    ok( environ != NULL, "Expected the environ global variable to be initialized on startup\n" );
> +    ok( _wenviron != NULL, "Expected the _wenviron global variable to be initialized on startup\n" );

This won't test what you want, importing variables is not supported on
Wine, you have to load the variables explicitly with GetProcAddress,

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list