Re: ntdll: CreateRemoteThread and RtlCreateUserThread for remote processes, take 2

2006-08-02 Thread Mike McCormack
Dan Kegel wrote: No fair, Mike, you should have given the link to the PR: http://gcc.gnu.org/PR19430 :) If you know a gcc person that has time, nagging them would be great. Many similar errors will get caught, as long as you turn on the optimizer with -O (otherwise the compiler can't detect

Re: Problem with ValidateInUseArena

2006-08-02 Thread Diego A. Degese
The problem is: when in directx.c (Line 787, into the loop) try to Call function HeapAlloc in the first iteration, it crash with the error invalid in-use arena magic. I found this errors: stateLookup isn't allocated. It is a dword * []. minLookup and maxLookup isn't initia

Re: ntdll: CreateRemoteThread and RtlCreateUserThread for remote processes, take 2

2006-08-02 Thread Dan Kegel
On 8/2/06, Mike McCormack <[EMAIL PROTECTED]> wrote: > ["void *foo" is better than "void *foo = NULL", you want it > to remain uninitialized because that way the compiler will warn] gcc version 4.1.2 20060729 (prerelease) (Debian 4.1.1-10) [EMAIL PROTECTED]:~/wine$ cat foobar.c void foo(int *);

Re: ntdll: CreateRemoteThread and RtlCreateUserThread for remote processes, take 2

2006-08-02 Thread Mike McCormack
Mike Hearn wrote: And there are a few small style nits, for instance there's usually no reason to change "void *foo" to "void *foo = NULL", you want it to remain uninitialized because that way the compiler will warn if it's ever used before being set to something: superior to blindly using a NU

Re: ntdll: CreateRemoteThread and RtlCreateUserThread for remote processes, take 2

2006-08-02 Thread Mike Hearn
On 8/3/06, Dan Kegel <[EMAIL PROTECTED]> wrote: The goal is to get rid of the service thread; the service thread was just there as a placeholder. Once it's gone, signals are appropriate. The realtime signal is just there as a placeholder until we figure out how to squeze this down into SIGUSR1 a

Re: Name problems with HTMLDocument, InternetExplorer and WebBrowser

2006-08-02 Thread Jacek Caban
Dan Hipschman wrote: Hi all, I'd like to submit a patch which makes widl output forward declarations to the header file for coclass definitions. Currently this is done only if the coclass has its own forward declaration. For example, [ uuid(...) ] coclass Foo; [ uuid(...) ] coclass Bar { ...

Re: ntdll: CreateRemoteThread and RtlCreateUserThread for remote processes, take 2

2006-08-02 Thread Dan Kegel
On 8/2/06, Mike Hearn <[EMAIL PROTECTED]> wrote: - The service thread seems like a good idea to me. But why use a signal in this case, when there are simpler ways to achieve the same thing, for instance with a named pipe? - I'm not sure using the realtime signals will work. I don't remem

Re: VB6 app that embeds a browser window fails on wine; want test case?

2006-08-02 Thread Jacek Caban
Dan Kegel wrote: Piero Proietti wrote a nice demo app in VB6 which embeds a browser window. It doesn't work in Wine. I think Jacek has been committing patches that ought to help this ( e.g. http://winehq.org/pipermail/wine-cvs/2006-July/024993.html ) but it's not quite there yet. Yes, it shoul

Re: ntdll: CreateRemoteThread and RtlCreateUserThread for remote processes, take 2

2006-08-02 Thread Mike Hearn
On Tue, 01 Aug 2006 20:41:54 -0500, Thomas Kho wrote: > This is an implementation of CreateRemoteThread and RtlCreateUserThread for > remote processes that re-introduces a service thread for each process and uses > a signal to flag pending operations. Operations are guarded by a global mutex > for

null dereference in dbghelp

2006-08-02 Thread Jan Zerebecki
I tried to hack on http://bugs.winehq.org/show_bug.cgi?id=4848 and dbghelp failed on me. Log about the failure: http://bugs.winehq.org/attachment.cgi?id=3151&action=view Jan

Re: Name problems with HTMLDocument, InternetExplorer and WebBrowser

2006-08-02 Thread Robert Shearman
Dan Hipschman wrote: Hi all, I'd like to submit a patch which makes widl output forward declarations to the header file for coclass definitions. Currently this is done only if the coclass has its own forward declaration. For example, [ uuid(...) ] coclass Foo; [ uuid(...) ] coclass Bar { ..

WineConf 2006

2006-08-02 Thread Robert Shearman
Hi fellow Wine developers, Our annual Wine conference is taking place in approximately 6 weeks time. It is an opportunity for you to put names to faces and to talk about projects that are too crazy to think about discussing on wine-devel! It is also an opportunity to share knowledge and to share

Re: msvcrt/libc clash?

2006-08-02 Thread Tijl Coosemans
On Wednesday 02 August 2006 13:52, Alexandre Julliard wrote: > Tijl Coosemans <[EMAIL PROTECTED]> writes: > > The actual problem is probably with the _execve symbol, because > > FreeBSD doesn't have any of the spawn calls. So, how to solve this? > > The easiest is probably to rename ours to MSVCRT_

Re: Problem with ValidateInUseArena

2006-08-02 Thread Andreas Mohr
Hi, On Tue, Aug 01, 2006 at 05:40:24PM -0300, Diego A. Degese wrote: > 0009:Call ntdll.RtlAllocateHeap(0011,,0014) ret=7ec142bc > 0009:err:heap:HEAP_ValidateInUseArena Heap 0x11: invalid in-use > arena magic for 0x17c228 > Heap: 0x11 > Next: 0x3e3 Sub-heaps: 0x11

Re: wine_main_preload_info not found, cannot use first megabyte, *.exe don't work

2006-08-02 Thread Pavel Roskin
On Wed, 2006-08-02 at 03:10 +0900, Mike McCormack wrote: > David D. Hagood wrote: > > > I've been posting my findings on this very matter to wine-users - look > > for "cannot run under Fedora 6 tset 1". > > Alexandre has committed a patch that looks like it should fix the > problem to the git t

Re: VB6 app that embeds a browser window fails on wine; want test case?

2006-08-02 Thread James Hawkins
On 8/2/06, Dan Kegel <[EMAIL PROTECTED]> wrote: Piero Proietti wrote a nice demo app in VB6 which embeds a browser window. It doesn't work in Wine. I think Jacek has been committing patches that ought to help this ( e.g. http://winehq.org/pipermail/wine-cvs/2006-July/024993.html ) but it's not

winebrowser and multi-word commands

2006-08-02 Thread Yuriy
Hi, I noticed that winebrowser doesn't work with browsers/commands that are more than one word. For example, the command to run konqueror with the webbrowsing profile on kubuntu is: kfmclient openProfile webbrowsing [url] Setting that to be the first attempted webbrowser in the registry: [HKE

Re: Benchmarking Wine

2006-08-02 Thread Jason Green
On 8/2/06, H. Verbeet <[EMAIL PROTECTED]> wrote: On 02/08/06, Tom Wickline <[EMAIL PROTECTED]> wrote: > > As for 3DMark 05 and 06, they don't seem to think we support Pixel Shader 2.0, > > even when using GLSL, so I'm not sure how valuable those would be to > > benchmark in that state. I've come

VB6 app that embeds a browser window fails on wine; want test case?

2006-08-02 Thread Dan Kegel
Piero Proietti wrote a nice demo app in VB6 which embeds a browser window. It doesn't work in Wine. I think Jacek has been committing patches that ought to help this ( e.g. http://winehq.org/pipermail/wine-cvs/2006-July/024993.html ) but it's not quite there yet. Piero's willing to tailor the te

Re: msvcrt/libc clash?

2006-08-02 Thread Alexandre Julliard
Tijl Coosemans <[EMAIL PROTECTED]> writes: > The actual problem is probably with the _execve symbol, because FreeBSD > doesn't have any of the spawn calls. So, how to solve this? The easiest is probably to rename ours to MSVCRT_execve. -- Alexandre Julliard [EMAIL PROTECTED]

Re: wine.inf: add a computer SID

2006-08-02 Thread Alexandre Julliard
Robert Reif <[EMAIL PROTECTED]> writes: > This patch adds a computer SID. A computer SID should be > unique on a network but wine is a long way away from having > network security working so this isn't a big issue. You can use > a program like NewSID (http://www.sysinternals.com/Utilities/NewSid

Re: wintrust: Only return ERROR_SUCCESS in WinVerifyTrust

2006-08-02 Thread Andreas Mohr
Hi, On Tue, Aug 01, 2006 at 01:21:57PM -0700, James Hawkins wrote: > My reasoning for reverting the change is that I'd rather have 5 more > apps installing, than one app working (and it's Process Explorer of > all things). Indeed, but I'm not sure it's a good idea to kill all comment annotations

Re: Benchmarking Wine

2006-08-02 Thread H. Verbeet
On 02/08/06, Tom Wickline <[EMAIL PROTECTED]> wrote: > As for 3DMark 05 and 06, they don't seem to think we support Pixel Shader 2.0, > even when using GLSL, so I'm not sure how valuable those would be to > benchmark in that state. I've come accross some sample programs that seem to use a refere