Re: Implement StdMarshal::ReleaseMarshalData

2004-07-22 Thread Jeroen Janssen
Mike Hearn wrote: Mike Hearn <[EMAIL PROTECTED]> Rob Shearman <[EMAIL PROTECTED]> Implement StdMarshal::ReleaseMarshalData + res = IRpcStubBuffer_Release(stub); I'm not sure but, is there a hypothical race condition here when a thread switch takes place and someone tries to reuse the stub while v

building COM client/server with proxy using winelib & widl?

2004-07-22 Thread Jeroen Janssen
Hello, I was wondering whether there is a wine COM client/server application that makes use of winelib & widl (to generate a proxy/stub dll). Apparently I'm missing some #defines in wine's rpcproxy.h in order to be able build the proxy/stub dll? For instance: PROXYFILE_LIST_START PROXYFILE_LIST_

Re: dinput.dll: mouse didn't work

2004-07-22 Thread Andreas Mohr
Hi, On Thu, Jul 22, 2004 at 07:38:26PM +0200, Michael Schlüter wrote: > Hi, > > I've a small problem with wine (cvs from today) when trying to play a > game that uses dinput.dll. The game starts fine, keyboard inputs works > but the mouse cursor didn't move. I had a look at the source code of > d

Re: Check Server Version From Client Dlls

2004-07-22 Thread Alexandre Julliard
Robert Shearman <[EMAIL PROTECTED]> writes: > DLL separation is not going to help when a function in user32 calls > the server and fails due to mismatched server interfaces. Yes it will, because part of that task is also to ensure that the server protocol is backwards compatible. This isn't fully

Re: Check Server Version From Client Dlls

2004-07-22 Thread Robert Shearman
Alexandre Julliard wrote: Robert Shearman <[EMAIL PROTECTED]> writes: DLL separation is not going to help when a function in user32 calls the server and fails due to mismatched server interfaces. Yes it will, because part of that task is also to ensure that the server protocol is backwards

Re: Check Server Version From Client Dlls

2004-07-22 Thread Robert Shearman
Alexandre Julliard wrote: Robert Shearman <[EMAIL PROTECTED]> writes: if (ver != SERVER_PROTOCOL_VERSION) MESSAGE( "Error: server version mismatch.\n" "Your %s binary was not upgraded correctly\n" "or the wrong wineserver is still running.\n", dl

Re: Check Server Version From Client Dlls

2004-07-22 Thread Alexandre Julliard
Robert Shearman <[EMAIL PROTECTED]> writes: >> if (ver != SERVER_PROTOCOL_VERSION) >> MESSAGE( "Error: server version mismatch.\n" >> "Your %s binary was not upgraded correctly\n" >> "or the wrong wineserver is still running.\n", dll_na

Re: Check Server Version From Client Dlls

2004-07-22 Thread Robert Shearman
Andreas Mohr wrote: Hi, On Thu, Jul 22, 2004 at 02:59:47PM +0100, Robert Shearman wrote: Changelog: Check server version from x11drv, kernel32 and user32 to prevent mismatches of installed dlls. Slight overkill, I'd say. Why not do: if (!wine_server_check_version( "x11drv", SERVER_PROTOCOL

Re: PATCH: controls/menu.c case ranges

2004-07-22 Thread Marcus Meissner
On Thu, Jul 22, 2004 at 02:34:20PM -0700, Alexandre Julliard wrote: > Marcus Meissner <[EMAIL PROTECTED]> writes: > > > Another try on fixing the case range problems (WORD is unsigned, > > HBMMENU_CALLBACK is -1, so out of range of the switch). > > I think this is revealing a deeper problem with

Re: PATCH: controls/menu.c case ranges

2004-07-22 Thread Alexandre Julliard
Marcus Meissner <[EMAIL PROTECTED]> writes: > Another try on fixing the case range problems (WORD is unsigned, > HBMMENU_CALLBACK is -1, so out of range of the switch). I think this is revealing a deeper problem with that code, the magic value check should be done against the whole handle, not j

Re: daily wine cvs source snapshots?

2004-07-22 Thread Jeremy Newman
FYI: We also tar up the entire CVS on our main ftp server here: ftp://ftp.winehq.org/pub/wine/full-cvs-2004-07-21.tar.gz On Thu, 2004-07-22 at 05:35, Jeroen Janssen wrote: > > SSH tunneling not possible either? > > Nope, unfortunately not. > > >> Would it be possible to have daily cvs snapshots

Re: too many functions in msvcrt20.dll?

2004-07-22 Thread Alexandre Julliard
Chipzz <[EMAIL PROTECTED]> writes: > Much to my surprise, the wine implementation has more(!!) functions than > the native dll. So, I was wondering, this screws up the index of these > functions in the list, right? Does that index actually matter? No, the index doesn't matter, the functions are l

Re: Add a WINEVER environment variable

2004-07-22 Thread Alexandre Julliard
Mike Hearn <[EMAIL PROTECTED]> writes: > Yeah I thought about that, but to be honest the only reason to have this > is pure convenience - the more typing required the less convenient it is. > I never, ever set the DOS version. It's always either win9x vs win2k for > me, so saving a few characters

about wine dsound

2004-07-22 Thread Magnus Olsen
HI My name are Magnus Olsen (call GreatLord at reactos channel) I am one of reactos devlooper I  we are now trying get the sound working in reactos. I did start to port over wine dsound and find out it did have it own api layer, to get dsound guid, and other stuff. I did rewrite to thuse

dinput.dll: mouse didn't work

2004-07-22 Thread Michael Schlüter
Hi, I've a small problem with wine (cvs from today) when trying to play a game that uses dinput.dll. The game starts fine, keyboard inputs works but the mouse cursor didn't move. I had a look at the source code of dinput/mouse.c and the trace messages of dinput. But there is one thing I don't unde

Re: tests: safe MAPI init

2004-07-22 Thread Jon Griffiths
Hi, > Windows XP Professional, in a network with roaming profiles > served by Samba. I don't know what is relevant. Strange, I'd have assumed you'd have an extended mapi client installed by deault. What is your default mail client? > OK, sending you off-list. Thanks. I'll have a look at this.

too many functions in msvcrt20.dll?

2004-07-22 Thread Chipzz
I was looking at porting a small subset of msvcrt80.dll, and so I took a look at msvcrt20.dll. I first used a disassembler to get a list of the functions in the native windows dll, ran a script over that, and then ran another script over msvcrt20.spec. Much to my surprise, the wine implementation

Re: COM outproc & CFProxy unhandled interface for IRunnableObject

2004-07-22 Thread Robert Shearman
Jeroen Janssen wrote: I am not sure, but there seems to be a difference in the outproc handling of the CoCreateInstance call? This goes ok: hr = CoCreateInstance(CLSID_Component1, NULL, clsctx, IID_IX, (void**)&pIX) ; However this seems to go wrong?: hr = CoCreateInstance(CLSID_Component1, NULL, cl

Re: tests: safe MAPI init

2004-07-22 Thread Jon Griffiths
Hi, > the mapi32 tests call scInitMapiUtil, which pops up an alert > box saying something like (translating it) "Your default > mailer application isn't capable of this operation, please > ensure that Outlook is configured as the default mailer." This probably means that you don't have a mapi cli

Re: COM outproc & CFProxy unhandled interface for IRunnableObject

2004-07-22 Thread Jeroen Janssen
> From: Mike Hearn <[EMAIL PROTECTED]> >> Maybe my 'real' problem is that based upon the logging, I also see a >> CFProxy Unhandled interface for the first interface that the client is >> trying to access (but I need to know more about how COM/wine deals with >> this). > > Are you sure you're using

Re: devenum

2004-07-22 Thread Marcelo Duarte
Ivan Leo Puoti wrote: English resources moved to En.rc, language neutral resources moved to Xx.rc, and italian resources added in It.rc Licence: LGPL Ivan. Ivan, Why you do not leave the neutral resources in the main archive? Greetings, Marcelo

Re: Check Server Version From Client Dlls

2004-07-22 Thread Andreas Mohr
Hi, On Thu, Jul 22, 2004 at 02:59:47PM +0100, Robert Shearman wrote: > > Changelog: > Check server version from x11drv, kernel32 and user32 to prevent > mismatches of installed dlls. Slight overkill, I'd say. Why not do: if (!wine_server_check_version( "x11drv", SERVER_PROTOCOL_VERSION )) ...

Re: COM outproc & CFProxy unhandled interface for IRunnableObject

2004-07-22 Thread Mike Hearn
On Thu, 22 Jul 2004 14:45:31 +0200, Jeroen Janssen wrote: > Maybe my 'real' problem is that based upon the logging, I also see a > CFProxy Unhandled interface for the first interface that the client is > trying to access (but I need to know more about how COM/wine deals with > this). Are you sure

Re: Add a WINEVER environment variable

2004-07-22 Thread Mike Hearn
On Thu, 22 Jul 2004 09:05:47 +0200, Andreas Mohr wrote: > I'm afraid I don't like the naming, since it's potentially confusing > (plus, it somewhat goes against established rules, "WINE + function"). > What about WINEWINVER instead? I for one like it much more. > Also, this doesn't take into accoun

Re: COM outproc & CFProxy unhandled interface for IRunnableObject

2004-07-22 Thread Jeroen Janssen
> IRunnableObject does not have anything to do with COM marshalling; it is > an OLE thing. MSDN says this about it: "The *IRunnableObject *interface > enables a container to control the running of its embedded objects". So > basically, I don't see any reason why CFProxy (IClassFactory proxy) > shou

Re: COM outproc & CFProxy unhandled interface for IRunnableObject

2004-07-22 Thread Robert Shearman
Jeroen Janssen wrote: Hello, I'm trying to run 2 programs: 1) is a COM server program 2) is a COM client program Now, program 2) tries to access a COM component from 1) (outproc). It seems some marshalling is being done, but eventually I get: fixme:ole:CFProxy_QueryInterface Unhandled interface: {0

Re: daily wine cvs source snapshots?

2004-07-22 Thread Jeroen Janssen
> SSH tunneling not possible either? Nope, unfortunately not. >> Would it be possible to have daily cvs snapshots (cvs export) of the >> wine HEAD tree? > Err... we've already been having that for a VERY long time ;-) > http://lisas.de/~andi/wine_files/wine-cvs-hopefully-current.tar.bz2 > (I thou

COM outproc & CFProxy unhandled interface for IRunnableObject

2004-07-22 Thread Jeroen Janssen
Hello, I'm trying to run 2 programs: 1) is a COM server program 2) is a COM client program Now, program 2) tries to access a COM component from 1) (outproc). It seems some marshalling is being done, but eventually I get: fixme:ole:CFProxy_QueryInterface Unhandled interface: {0126---

Re: Fix crash in dsound test

2004-07-22 Thread Ferenc Wagner
Paul Millar <[EMAIL PROTECTED]> writes: > On Monday 19 July 2004 12:50, Ferenc Wagner wrote: > >> Can you (cross)build the directsound tests? > > FWIW, yes: > > http://www.astro.gla.ac.uk/users/paulm/wine/dsound_test-20040721.10-00.exe Fine, that works, even. :) What an interesting experience it

Re: tests: safe MAPI init

2004-07-22 Thread Ferenc Wagner
Jon Griffiths <[EMAIL PROTECTED]> writes: >> Windows XP Professional, in a network with roaming profiles >> served by Samba. I don't know what is relevant. > > Strange, I'd have assumed you'd have an extended mapi client > installed by deault. What is your default mail client? If it's Control Pa

Re: tests: safe MAPI init

2004-07-22 Thread Ferenc Wagner
Jon Griffiths <[EMAIL PROTECTED]> writes: >> the mapi32 tests call scInitMapiUtil, which pops up an alert >> box saying something like (translating it) "Your default >> mailer application isn't capable of this operation, please >> ensure that Outlook is configured as the default mailer." > > This

Re: Fix crash in dsound test

2004-07-22 Thread Paul Millar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday 19 July 2004 12:50, Ferenc Wagner wrote: > Can you (cross)build the directsound tests? Yes. http://www.astro.gla.ac.uk/users/paulm/wine/dsound_test-20040721.10-00.exe with md5sum of: 9ca9562675eb87f18f25a56c6c5a1341 dsound_test-20040721.

Re: daily wine cvs source snapshots?

2004-07-22 Thread Andreas Mohr
Hi, On Thu, Jul 22, 2004 at 09:46:44AM +0200, Jeroen Janssen wrote: > Hello, > > I was wondering since: > > 1) wine uses CVS (and not svn with httpwebdav) and > 2) CVS doesn't go through the firewall at my work (and possible also not > for other people) SSH tunneling not possible either? > Woul

tests: safe MAPI init

2004-07-22 Thread Ferenc Wagner
Hi (and sorry for the broken post), the mapi32 tests call scInitMapiUtil, which pops up an alert box saying something like (translating it) "Your default mailer application isn't capable of this operation, please ensure that Outlook is configured as the default mailer." This brings the tests to a

tests: safe MAPI init

2004-07-22 Thread Ferenc Wagner
Hi, the mapi32 tests call scInitMapiUtil, which pops up an alert box

daily wine cvs source snapshots?

2004-07-22 Thread Jeroen Janssen
Hello, I was wondering since: 1) wine uses CVS (and not svn with httpwebdav) and 2) CVS doesn't go through the firewall at my work (and possible also not for other people) Would it be possible to have daily cvs snapshots (cvs export) of the wine HEAD tree? This makes tracking the latest HEAD po

Re: Add a WINEVER environment variable

2004-07-22 Thread Andreas Mohr
Hi, I'm afraid I don't like the naming, since it's potentially confusing (plus, it somewhat goes against established rules, "WINE + function"). What about WINEWINVER instead? I for one like it much more. Also, this doesn't take into account that we're also able to set the DOS version. So what woul