[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [1/7] msvcrt: Initialize the environ global variables on DLL load.
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2010-09-28 15:34:35
Message-ID: 87hbh96fw4.fsf () wine ! dyndns ! org
[Download RAW message or body]

Andrew Nguyen <anguyen@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@winehq.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic