Re: dinput: Delete the static critical section when unloading the dll.

2011-11-17 Thread Alexandre Julliard
Vitaliy Margolen writes: > On 11/16/2011 08:31 AM, Francois Gouget wrote: >> --- >> >> I moved DllMain() to the end of the file so it comes after the variable >> declaration. > It's already forward declared few lines after DllMain(). So you should > move that declaration instead. > > Hm... it see

Re: dinput: Delete the static critical section when unloading the dll.

2011-11-17 Thread Francois Gouget
On Wed, 16 Nov 2011, Vitaliy Margolen wrote: > On 11/16/2011 08:31 AM, Francois Gouget wrote: > > --- > > > > I moved DllMain() to the end of the file so it comes after the variable > > declaration. > It's already forward declared few lines after DllMain(). So you should move > that declaration i

Re: dinput: Delete the static critical section when unloading the dll.

2011-11-16 Thread Vitaliy Margolen
On 11/16/2011 07:34 PM, Vitaliy Margolen wrote: On 11/16/2011 08:31 AM, Francois Gouget wrote: --- I moved DllMain() to the end of the file so it comes after the variable declaration. It's already forward declared few lines after DllMain(). So you should move that declaration instead. Hm... i

Re: dinput: Delete the static critical section when unloading the dll.

2011-11-16 Thread Vitaliy Margolen
On 11/16/2011 08:31 AM, Francois Gouget wrote: --- I moved DllMain() to the end of the file so it comes after the variable declaration. It's already forward declared few lines after DllMain(). So you should move that declaration instead. Hm... it seems this patch already committed. Alexadre,