Re: oledlg: Cast-qual warnings fix

2006-11-08 Thread Huw Davies
On Wed, Nov 08, 2006 at 09:56:54PM +, Andrew Talbot wrote: > @@ -666,16 +672,20 @@ > if(psA->cPasteEntries > 0) > { > UINT i; > -for(i = 0; i < psA->cPasteEntries; i++) > + > +for(i = psA->cPasteEntries; i != 0;) Was there any need for this? Huw.

mscoree: Graphical notice

2006-11-08 Thread Segin
Is it a wise idea to add a graphical warning to mscoree that Wine doesn't support running .NET applications directly yet? I was thinking about using a MessageBox() to deliver the warning. I also wanted the popup to be displayed conditionally, in which if Wine was started from the commandline, the b

RE: dlls/user/hook.c HOOK_CallHooks() help

2006-11-08 Thread Phil Lodwick
Alexandre, > The idea is that active_hooks is a shortcut to avoid calling the > server if we know that a hook is not set. If we don't have a valid > active_hooks then we need to call the server, which will then tell us > whether or not we really have a hook to call. I don't know if this matters,

Regression in patch: OpenGL32: remove glx context

2006-11-08 Thread Mirek
This patch broke nvidia SDK opengl demos, i cant run it with this patch. Here is some small report from terminal: cvswine glsl_bump_mapping.exe err:wgl:process_attach X11DRV or GDI32 not loaded. Cannot create default context. err:module:LdrInitializeThunk "opengl32.dll" failed to initialize, ab

Re: dlls/user/hook.c HOOK_CallHooks() help

2006-11-08 Thread Alexandre Julliard
"Phil Lodwick" <[EMAIL PROTECTED]> writes: > Active_hooks is pretty much set by the server. Bit 0x8000 is set to > indicate that the bitmask is valid. One of my suspicions that I hope to > confirm with debug is that in my case of failure active_hooks is 0. > > Would it not make more sense to

RE: dlls/user/hook.c HOOK_CallHooks() help

2006-11-08 Thread Phil Lodwick
Unfortunately this problem I am seeing is very hard to reproduce. I have added some more debug in case it happens again. However, looking at code, the HOOK_IsHooked function seems strange: BOOL HOOK_IsHooked( INT id ) { struct user_thread_info *thread_info = get_user_thread_info(); if (

Re: kernel32: Add basic OpenProcess test, make it pass under Wine

2006-11-08 Thread Alexandre Julliard
Dmitry Timoshkov <[EMAIL PROTECTED]> writes: > diff -up a/server/protocol.def b/server/protocol.def > --- a/server/protocol.def 2006-11-06 18:35:52.0 +0800 > +++ b/server/protocol.def 2006-11-06 21:57:22.0 +0800 > @@ -335,6 +335,7 @@ struct token_groups > /* Retrieve infor

DIBs with negative width/height

2006-11-08 Thread Damjan Jovanovic
Hi Does anyone know (or know where to find) what it means for biWidth and/or biHeight for a DIB section's BITMAPINFOHEADER to be negative? It seems largely undocumented. The MSDN says a negative biHeight is a top-down bitmap (the normal positive biHeight is bottom-up), so does a negative biWidth

Re: subclass test for comctl32

2006-11-08 Thread Alexandre Julliard
Paul Vriens <[EMAIL PROTECTED]> writes: > How should/can we deal with this? Should we export by name as well? (get > rid of the -noname). Or do we need to change the test to first try by > name and then by ordinal (or only by ordinal)? The test should load them by ordinal only. -- Alexandre Jul

Re: usp10 #1/2: create HandleTables to keep track of memory allocation.

2006-11-08 Thread Jeff L
Rob, as the HandleTable was your suggestion, could you provide a comment on whether these patches are a practical way forward? Jeff Latimer Jeff Latimer wrote: These 2 patches implement HandleTables for tracking memory usage for the SCRIPT_STRING_ANALYSIS pointer. The problem is that the ssa