Re: Need help debugging a memory corruption bug in shfldr_unixfs.c

2005-08-26 Thread Robert Shearman
Andreas Mohr wrote: Hi, On Fri, Aug 26, 2005 at 10:10:16PM +0200, Michael Jung wrote: 3) Would valgrind be of help to debug this? In theory it's possible, but valgrind currently doesn't work with Wine any more (or rather the other way around), AFAIK. It used to as of a few months

[bug 3064] Refix: Listbox fails to populate

2005-08-26 Thread Ann & Jason Edmeades
>LISTBOX_RemoveItem already does pretty much the same check, you should >reuse that instead of duplicating it, you just need to remove the -1 >special case in there. OK - Done, and changed the special case use by setcount appropriately Changelog Listbox delete string handling should validate the

Re: Need help debugging a memory corruption bug in shfldr_unixfs.c

2005-08-26 Thread Andreas Mohr
Hi, On Fri, Aug 26, 2005 at 11:03:33PM +0200, Michael Jung wrote: > Thanks for your comments. The problem is that things are really dynamic here. > Every time you double click a folder, the current ShellView object is > destroyed and a new one is created. Given that I have to browse into like 30

Re: Need help debugging a memory corruption bug in shfldr_unixfs.c

2005-08-26 Thread Michael Jung
Hi Andy, On Friday 26 August 2005 22:26, Andreas Mohr wrote: > Why not use a watchpoint on that location? > Choose some significant function call a while before the crash, > have a breakpoint on that function (a DPA related function probably is > best), check out which infoPtr is the relevant one,

Re: Need help debugging a memory corruption bug in shfldr_unixfs.c

2005-08-26 Thread Andreas Mohr
Hi, On Fri, Aug 26, 2005 at 10:10:16PM +0200, Michael Jung wrote: > 1) Can someone give me some advice on how to debug such a problem? Why not use a watchpoint on that location? Choose some significant function call a while before the crash, have a breakpoint on that function (a DPA related func

Need help debugging a memory corruption bug in shfldr_unixfs.c

2005-08-26 Thread Michael Jung
Hi, Sometimes while browsing the unixfs namespace in the file dialog wine crashes with the following console output: = wine: Unhandled exception (thread 0009), starting debugger... WineDbg starting on pid 0x8 Unhandled e

Re: [d3d8] use wined3dformat when calling wined3d

2005-08-26 Thread Juan Lang
Hi again Oliver, > Common subdirectories: clean/wine/CVS and small-patches/wine/CVS Wrong patch I think. --Juan Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs

Re: [wined3d] dxt2 and dxt4 texture support

2005-08-26 Thread Juan Lang
Hi Oliver, diff -Nru -x ignore clean/wine/dlls/Makeimplib.rules small-patches/wine/dlls/Makeimplib.rules --- clean/wine/dlls/Makeimplib.rules1970-01-01 01:00:00.0 +0100 +++ small-patches/wine/dlls/Makeimplib.rules2005-08-26 15:53:11.888455392 +0100 @ This shows up in a couple of y

Re: Googletalk and Wine

2005-08-26 Thread James Hawkins
On 8/26/05, Andrew Neil Ramage <[EMAIL PROTECTED]> wrote: > Googletalk is a free chat program from Google with integrated VoIP. I > installed the program and received a message saying Googletalk required > Windows 2000, XP or 2003. The program started after installation and > almost immewdiately

Re: The recent include/wine/wined3d_types.h changes

2005-08-26 Thread Oliver Stieber
--- Gerald Pfeifer <[EMAIL PROTECTED]> wrote: > The following patch to include/wine/wined3d_types.h > > triggers the following warning in IDirect3D8Impl_CreateDevice(): > > directx.c:670: warning: assignment from incompatible pointer type > directx.c:678: warning: assignment from incompati

Missing "#define AVISTREAMREAD_CONVENIENT"

2005-08-26 Thread Peter Lemenkov
Hello, All! Subj. VirtualDub library, called vdremote, wants it, so I propose to include next line anywhere in file "vfv.h": #define AVISTREAMREAD_CONVENIENT(-1L) -- With best regards, Peter Lemenkov.

Re: accessing WRT binaries on the web

2005-08-26 Thread Paul Millar
Hi Saulius, On Thursday 25 Aug 2005 09:22, Saulius Krasuckas wrote: > * On Wed, 24 Aug 2005, Paul Millar wrote: > > The cross-building part needs patching so it knows about an additional > > part of the Win32 API. Nothing new there. > > Ok, but I perhaps do not understand, what the exact code is

The recent include/wine/wined3d_types.h changes

2005-08-26 Thread Gerald Pfeifer
The following patch to include/wine/wined3d_types.h revision 1.8 date: 2005/08/23 09:34:57; author: julliard; state: Exp; lines: +2 -2 Oliver Stieber <[EMAIL PROTECTED]> Tidy up d3d9 and finalize passing d3d9 calls to wined3d for now. @@ -401,7 +401,7 @@ typedef struct _WINED3DADAPTE

Re: OpenGL windowing and wglMakeCurrent

2005-08-26 Thread Vitaly Lipatov
В сообщении от 26 Август 2005 15:32 Lionel Ulmer написал(a): > On Wed, Aug 24, 2005 at 02:40:48PM -0700, Russ wrote: > > Under WINE, the subwindow graphics all get drawn in the > > lower left corner of the overall X11 window, and the entire X11 window's ... > So we have two possible solutions: > >

Re: Loading resources from wine dlls

2005-08-26 Thread Alexandre Julliard
Michael Jung <[EMAIL PROTECTED]> writes: > Thinking about it again, there probably is no such thing as an ELF wrapped PE? No, the ELF linker cannot support everything we need, so parts of the PE header need to be generated at load time. So there's no way to access a real PE header without loading

Re: wine/dlls/commdlg printdlg.c

2005-08-26 Thread Alexandre Julliard
Vitaly Lipatov <[EMAIL PROTECTED]> writes: > Dear Alexandre! > You are removed dm checking for NULL... But it can be NULL in some cases... I didn't touch that bit, I'm afraid it was that way in your patch... -- Alexandre Julliard [EMAIL PROTECTED]

Re: DLL loading

2005-08-26 Thread Alexandre Julliard
Bojan "ÿ8aernek" <[EMAIL PROTECTED]> writes: > I'd like to load a DLL from a memory buffer. The > regular Win32 API function to load DLLs, however, > takes a path name. So, I'm looking for resources about > this kind of thing, but it has to work both under > win32 and unix+wine. There used to

Re: wine/dlls/commdlg printdlg.c

2005-08-26 Thread Vitaly Lipatov
В сообщении от 25 Август 2005 23:23 Alexandre Julliard написал(a): > Log message: > Vitaly Lipatov <[EMAIL PROTECTED]> > Restore paper orientation when pagesetupdlg is initializing. > > Patch: http://cvs.winehq.org/patch.py?id=19818 Dear Alexandre! You are removed dm checking for NULL..

Googletalk and Wine

2005-08-26 Thread Andrew Neil Ramage
Googletalk is a free chat program from Google with integrated VoIP. I installed the program and received a message saying Googletalk required Windows 2000, XP or 2003. The program started after installation and almost immewdiately crashed. Here is the output. [EMAIL PROTECTED]:~/Download/Wi

Re: undocumented shell32 stuff

2005-08-26 Thread Saulius Krasuckas
* On Fri, 26 Aug 2005, Robert Shearman wrote: > > What program are you running and which platform is it designed to run > on? I ask because the win9x shell32 exports SHLocalAlloc at a different > ordinal to the NT shell32. It isn't a standalone program, it's a Win98 Explorer. > Our shell32 mo

Re: OpenGL windowing and wglMakeCurrent

2005-08-26 Thread Lionel Ulmer
On Wed, Aug 24, 2005 at 02:40:48PM -0700, Russ wrote: > Trying to get my 3-D app to run under WINE using the same binary with the odd > workaround or two. It uses OpenGL in various subwindows of the main window as > needed. Under WINE, the subwindow graphics all get drawn in the lower left > corner

Re: Crash on glBegin() (Was: Help with debugging needed)

2005-08-26 Thread Lionel Ulmer
> As far as I can tell from a quick look, no. All ddraw calls are done from the > same thread, there are only a few imm32 calls from another thread. OK, a shame :-) > I have noticed that it creates multiple DirectDraw and Direct3D devices, some > of them are freed, re-created and freed again. A

Re: Crash on glBegin() (Was: Help with debugging needed)

2005-08-26 Thread Stefan Dösinger
Hi, > On Tue, Aug 23, 2005 at 12:35:16PM +, Stefan Dösinger wrote: > > I'll try to reproduce the behaviour and write a small test for this > > problem and the reference counting issue. However, this may take some > > time... > > Could you do a +ddraw,+tid trace and check that all DirectX calls

DLL loading

2005-08-26 Thread �ffff8aernek
hello, I'd like to load a DLL from a memory buffer. The regular Win32 API function to load DLLs, however, takes a path name. So, I'm looking for resources about this kind of thing, but it has to work both under win32 and unix+wine. There used to be a web page about just this thing, but I lost the

Re: PATCH: sensap IsNetworkAlive

2005-08-26 Thread Vijay Kiran Kamuju
Hi, According to MSDN, >+#define NETWORK_ALIVE_RAS 2 must be #define NETWORK_ALIVE_WAN 2 I think so, see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/syncmgr/syncmgr/isnetworkalive.asp Thanks, Vijay

Re: undocumented shell32 stuff

2005-08-26 Thread Robert Shearman
Saulius Krasuckas wrote: I have stumbled upon a unimplemented function shell32.dll.SHLocalAlloc . What program are you running and which platform is it designed to run on? I ask because the win9x shell32 exports SHLocalAlloc at a different ordinal to the NT shell32. Our shell32 mostly has

undocumented shell32 stuff

2005-08-26 Thread Saulius Krasuckas
I have stumbled upon a unimplemented function shell32.dll.SHLocalAlloc . OpenRCE page says it is related to kernel32.dll.LocalAlloc [1], and authors of the NSElib (The NameSpace Extension Library) defines it taking two int-params [2]. They define the function in ShlExt.h file which says: // T