Re: [user/tests/sysparams.c] Added more SetLastError(0)'s

2005-03-03 Thread Paul Vriens
On Thu, 2005-03-03 at 08:24, Dmitry Timoshkov wrote: Paul Vriens [EMAIL PROTECTED] wrote: as discussed a few times on wine-devel, there isa need to clear the last error before calling a SPI_{GET|SET} routine. It appears that not every call resets the last error to 0 on succession

Re: Use IsWindowVisible instead of GetWindowLong(GWL_STYLE) WS_VISIBLE as a test for desktop visibility

2005-03-03 Thread Dmitry Timoshkov
Robert Shearman [EMAIL PROTECTED] wrote: I would have thought the suggestions at this page would be better: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/interactive_services.asp To determine whether a service is running as an interactive service, call the

Re: Ptrace problem on amd64? (Was: Re: Warcraft III can't find cdrom)

2005-03-03 Thread Thomas Zeeman
Hi, and compare the logs. You need to make sure that 2.6.8 works and 2.6.9-rc1 or 2 breaks it, for this to be the same case. I know the OK, if 2.6.8 is supposed to work, then this is likely another problem. I can't get Warcraft 3 to work with 2.6.8 either. Both .8 and .10 give the same

Use of STLPort with winegcc

2005-03-03 Thread Boaz Harrosh
Winegcc will prepend any of the command line switches with -I wine/include/msvcrt if the -no-cygwin flag is specified. This breaks STLPort because STLPort must be first on the search path, before the regular c-runtime of the compiler. This way it can do it's tricks of what to use and what not

Re: %Fp printf format specifier

2005-03-03 Thread Andreas Mohr
Hi, On Wed, Mar 02, 2005 at 06:23:40PM +0100, Krzysztof Foltman wrote: Dnia 02-03-2005, ??ro o godzinie 17:34 +0100, Uwe Bonnes napisa??(a): uses a %Fp format spezifier. Running with native msvcrt, this seems to be the same as %p. However builtin msvcrt stumbles about the superfluous 'F.

installshield and Wine

2005-03-03 Thread wino
What is the current state of play? It seems that InstallShield is pretty much and essential element in a working Wine env. But I tried to install Dragon NS 7 yesterday and it hung completely with a system wide modal in the middle of the screen. I had to kill the parent. There has been some

Re: %Fp printf format specifier

2005-03-03 Thread Uwe Bonnes
Andreas == Andreas Mohr [EMAIL PROTECTED] writes: Andreas Hi, On Wed, Mar 02, 2005 at 06:23:40PM +0100, Krzysztof Foltman Andreas wrote: Dnia 02-03-2005, ??ro o godzinie 17:34 +0100, Uwe Bonnes napisa??(a): uses a %Fp format spezifier. Running with native msvcrt, this

Re: installshield and Wine

2005-03-03 Thread Sijmen Mulder
[EMAIL PROTECTED] wrote: What is the current state of play? It seems that InstallShield is pretty much and essential element in a working Wine env. But I tried to install Dragon NS 7 yesterday and it hung completely with a system wide modal in the middle of the screen. I had to kill the

MSI trouble with ALLUSERPROFILE

2005-03-03 Thread Vitaly Lipatov
I get err with %ALLUSERPROFILE during install program: trace:msi:MSI_FormatRecordW (L[%ALLUSERSPROFILE]) trace:msi:deformat_string_internal Starting with L[%ALLUSERSPROFILE] trace:msi:find_next_outermost_key Found Key L%ALLUSERSPROFILE trace:msi:deformat_string_internal Current (null) ..

Re: imagelist: style fixes

2005-03-03 Thread Alexandre Julliard
Dimitrie O. Paun [EMAIL PROTECTED] writes: ChangeLog Style fixes for consistent formatting. I knew I was going to regret applying Mike's indentation patches... Folks, please let's not start an indentation police, there's no reason to fix anything unless a file is really so messed up that

Re: %Fp printf format specifier

2005-03-03 Thread Mike McCormack
Uwe Bonnes wrote: With native MSVCRT there is no difference between %Fp and %p. You can see with the output on the MS web page about _heapwalk. And you can try quite easily in our test suite. Maybe a 16 bit msvcrt might give different results. I've been away for a few days of sun in Bali :)

Re: World of Warcraft - crash in game

2005-03-03 Thread Francois Gouget
On Wed, 2 Mar 2005, Alex Woods wrote: [...] Sound works about the same under both alsa and oss (again alsa oss emulation). It's strange that you get no sound from oss. Sound depends a lot on the sound card. Some sound cards support only specific sampling rates while others are more accomodating.

Re: riched20 and test app

2005-03-03 Thread Mike McCormack
Hi Krzysztof, Krzysztof Foltman wrote: This is an attempt at starting a RichEdit 2.0 clone, plus a test app for it (which I, for some reason, decided to call Wine WordPad). Cool. Looks like you've done alot of good work. It lacks most essential functionality, and source formatting is not

Re: MSI: Radio Buttons

2005-03-03 Thread Alexandre Julliard
Ulrich Czekalla [EMAIL PROTECTED] writes: const static WCHAR szStatic[] = { 'S','t','a','t','i','c',0 }; +const static WCHAR szButton[] = { 'B','U','T','T','O','N', 0 }; + +const static WCHAR szButtonData = { 0 }; Did you really intend to use an empty string here for the button property?

http://ftp.codeweavers.com/pub/crossover/office/source/office-src-4.1.0.tgz

2005-03-03 Thread Grant Williamson
Hi, I am just wondering how much does the wine source located on http://ftp.codeweavers.com/pub/crossover/office/source/office-src-4.1.0.tgz differ from 20040716. I guess its codeweavers internal patched version, I see changes in there dating to January. Are there any restrictions on using

Re: [user/tests/sysparams.c] Added more SetLastError(0)'s

2005-03-03 Thread Alexandre Julliard
Paul Vriens [EMAIL PROTECTED] writes: if (rc != 0 (GetLastError()==0xdeadbeef)) { /* API did not change the last error to 0 */ what_do_we_do_here? } if (rc != 0 (GetLastError()==0)) { /* API changed the last error to 0 */ do_nothing! } You should not check last error on

Re: http://ftp.codeweavers.com/pub/crossover/office/source/office-src-4.1.0.tgz

2005-03-03 Thread Shachar Shemesh
Short answer - RTFM Grant Williamson wrote: Hi, I am just wondering how much does the wine source located on http://ftp.codeweavers.com/pub/crossover/office/source/office-src-4.1.0.tgz differ from 20040716. RTFM diff -r I guess its codeweavers internal patched version, I see changes in there

Re: http://ftp.codeweavers.com/pub/crossover/office/source/office-src-4.1.0.tgz

2005-03-03 Thread Mike McCormack
Grant Williamson wrote: I am just wondering how much does the wine source located on http://ftp.codeweavers.com/pub/crossover/office/source/office-src-4.1.0.tgz differ from 20040716. I guess its codeweavers internal patched version, I see changes in there dating to January. Are there any

Re: New uninstaller

2005-03-03 Thread Mike McCormack
Jonathan Ernst wrote: Here is the new uninstaller. I'll be away all this week so I send it already as it works well here (no regressions found) and has already some more features than the current one (so Iguess it can be safely committed, but I might be wrong of course). With some help I'll be

Re: imagelist: style fixes

2005-03-03 Thread Dimitrie O. Paun
On Thu, Mar 03, 2005 at 11:13:49AM +0100, Alexandre Julliard wrote: I knew I was going to regret applying Mike's indentation patches... Folks, please let's not start an indentation police, there's no reason to fix anything unless a file is really so messed up that it becomes unreadable. This

Re: http://ftp.codeweavers.com/pub/crossover/office/source/office-src-4.1.0.tgz

2005-03-03 Thread Shachar Shemesh
Mike McCormack wrote: It can be compiled into the same binaries as used in CrossOver, but only if you use the same compiler, headers and libraries as we use. Or close enough to it. It's been done before. http://lingnu.com/support.html Shachar -- Shachar Shemesh Lingnu Open Source

Re: Add all MIME types

2005-03-03 Thread Mike Hearn
On Wed, 02 Mar 2005 12:56:33 +, Mike Hearn wrote: Oh my god, there are a lot of these! Wouldn't it be a better long term solution to just get the desktop environments sorted out? They should be sharing the same MIME database now right? So why are they not all identifying EXEs as the

Re: Speach rec. on Wine

2005-03-03 Thread Mike Hearn
On Wed, 02 Mar 2005 19:56:48 +0100, wino wrote: I am trying to get Dragon Naturally Speaking to run under Wine. Cool! I have got it installed successfully from CD, now I need to get it running. I have wine-20050111 installed , a 2.6.10 kernel and a current version of IE6 since Dragon

Re: Dragon Naturally Speaking - working.

2005-03-03 Thread Mike Hearn
On Thu, 03 Mar 2005 02:51:44 +0100, wino wrote: I now need some help with the guts of Wine to see if I can capture the keystrokes output by Dragon and pipe it to another Linux thread. Look at the XTest or Xevie X protocol extensions, they might be useful ...

Re: MSI: Radio Buttons

2005-03-03 Thread Dmitry Timoshkov
Ulrich Czekalla [EMAIL PROTECTED] wrote: +if (control-hwnd) +{ +WNDPROC oldproc = (WNDPROC) SetWindowLongW(control-hwnd, GWLP_WNDPROC, +(LONG)MSIRadioGroup_WndProc); I'd suggest to use SetWindowLongPtrW even it's just a macro in Win32 we still need to write

Re: Ptrace problem on amd64? (Was: Re: Warcraft III can't find cdrom)

2005-03-03 Thread Jesse Allen
On Thu, 3 Mar 2005 09:22:59 +0100, Thomas Zeeman [EMAIL PROTECTED] wrote: OK, if 2.6.8 is supposed to work, then this is likely another problem. I can't get Warcraft 3 to work with 2.6.8 either. Both .8 and .10 give the same dialog asking for the cdrom to be inserted. Ok. This does not

Re: Ptrace problem on amd64? (Was: Re: Warcraft III can't find cdrom)

2005-03-03 Thread Jesse Allen
On Thu, 3 Mar 2005 09:22:59 +0100, Thomas Zeeman [EMAIL PROTECTED] wrote: OK, if 2.6.8 is supposed to work, then this is likely another problem. I can't get Warcraft 3 to work with 2.6.8 either. Both .8 and .10 give the same dialog asking for the cdrom to be inserted. Oh do you know any

Printing in Wine (using ttydrv device)...

2005-03-03 Thread Juergen Hammelmann
Hi All, we are developing a windows/wine app for automation of MS Word (serial printing in background to PS files with the WINEPS driver on SuSE 9.2 platform, wine-20050211). We want to run this application and Word in background as server, no graphical output should occur in this environment,

Re: %Fp printf format specifier

2005-03-03 Thread Krzysztof Foltman
%p = pointer %Fp = far pointer? (as in segment:offset pointer in 16-bit Windows) Oh, right, so there most likely IS a difference between %p and %Fp, since %p will get shown as 0x12345678, whereas %Fp probably gets rendered as something like 0x1234:0x5678. Nope. There are no far pointers in

wine style checker.

2005-03-03 Thread Oliver Stieber
Hi, I've noticed that Alexander has fixed a few compatibility problems in the patches I've been sending in, like moving #directives to the beginning on the line, removing the odd C++ style comment and moving declarations to the top of a function/ code block. Does anyone have or know of

Re: Ptrace problem on amd64? (Was: Re: Warcraft III can't find cdrom)

2005-03-03 Thread Thomas Zeeman
On Thu, 3 Mar 2005 08:13:13 -0700, Jesse Allen [EMAIL PROTECTED] wrote: On Thu, 3 Mar 2005 09:22:59 +0100, Thomas Zeeman [EMAIL PROTECTED] wrote: OK, if 2.6.8 is supposed to work, then this is likely another problem. I can't get Warcraft 3 to work with 2.6.8 either. Both .8 and .10 give

Re: Use of STLPort with winegcc

2005-03-03 Thread Dimitrie O. Paun
On Thu, Mar 03, 2005 at 10:23:51AM +0200, Boaz Harrosh wrote: What would be the right way to do it? I would submit a patch, but what should I do? Just append the -I .../msvcrt instead of prepend, or maybe use -isystem .../msvcrt. The docs for gcc say that -isystem folders will be searched

Re: MSI trouble with ALLUSERPROFILE

2005-03-03 Thread Juan Lang
I get err with %ALLUSERPROFILE during install program: snip Where I will set this env variable? (I know I can do it in shell, but what is the right way?) Hm.. I never did get this quite right. For consistency, it should be in wine.inf. That's where USERPROFILE is:

Re: Wine cabinet.dll FDI Conformance Test Patch

2005-03-03 Thread Michael Stefaniuc
Dimitrie O. Paun wrote: On Wed, Mar 02, 2005 at 03:41:21PM -0800, Rizwan Kassim wrote: +FNFREE(final_free) { +trace( FNFREE just called with %d\n,pv); +free(pv); +return; +} +#endif No need for this either. It's a test after all, there's no big deal if you have a memory leak... :) I

Re: wine style checker.

2005-03-03 Thread Mike Hearn
On Thu, 03 Mar 2005 15:49:20 +, Oliver Stieber wrote: Does anyone have or know of something that can check my code before I send it to wine patches? I've egreped out all the #directives's already. Heya, It's basically old-style C conformance + a few random bits for non-GNU compilers.

Re: ntdll: Add NtCreateKey tests

2005-03-03 Thread Robert Shearman
James Hawkins wrote: On 03 Mar 2005 11:02:24 +0100, Alexandre Julliard [EMAIL PROTECTED] wrote: James Hawkins [EMAIL PROTECTED] writes: I've been discerning the behavior of RegCreateKey and NtCreateKey when creating a key directly under HKLM or HKU, and this test reveals that NtCreateKey

Re: ntdll: Add NtCreateKey tests

2005-03-03 Thread James Hawkins
On Thu, 03 Mar 2005 11:37:48 -0600, Robert Shearman [EMAIL PROTECTED] wrote: It looks like Windows only uses RegLoadKey to create keys under HKLM and HKU. Maybe we should do the same. Rob I agree we should use RegLoadKey as well to be consistent. Where is the registry initialisation code?

building programs

2005-03-03 Thread Ivan Leo Puoti
I've got the impression that during program building (clock, notepad etc.) a spec file for them is created on the fly, can someone confirm/dispute this? Ivan.

Re: ntdll: Add NtCreateKey tests

2005-03-03 Thread Robert Shearman
James Hawkins wrote: On Thu, 03 Mar 2005 11:37:48 -0600, Robert Shearman [EMAIL PROTECTED] wrote: It looks like Windows only uses RegLoadKey to create keys under HKLM and HKU. Maybe we should do the same. Rob I agree we should use RegLoadKey as well to be consistent. Where is the registry

Re: ntdll: Add NtCreateKey tests

2005-03-03 Thread Robert Shearman
James Hawkins wrote: On Thu, 03 Mar 2005 11:37:48 -0600, Robert Shearman [EMAIL PROTECTED] wrote: It looks like Windows only uses RegLoadKey to create keys under HKLM and HKU. Maybe we should do the same. Rob I agree we should use RegLoadKey as well to be consistent. Where is the registry

Re: ntdll: Add NtCreateKey tests

2005-03-03 Thread James Hawkins
On Thu, 03 Mar 2005 13:15:46 -0600, Robert Shearman [EMAIL PROTECTED] wrote: I agree we should use RegLoadKey as well to be consistent. Where is the registry initialisation code? I'd like to look around in there and see what can be done. It is in misc/registry.c. Changing wine to using

any way to unlink the symbolic link, not its target?

2005-03-03 Thread Kuba Ober
Hi, I'm using wine to cross compile projects using vc7.1 from a software configuration tool called aegis (http://aegis.sf.net). I'm maintaining a symlinked baseline with source and derived (.obj, .exe, .pdb) files in it. A change only has copies of changed files. So, when the compiler tries

Discussion on Bug tracking database

2005-03-03 Thread Ann and Jason Edmeades
Hello, I thought I'd try to start a discussion to try to encourage changes in the bug tracking, but it would both require agreement and someone (else) who could physically make the changes. Is it me or is our bug tracking database not really working the way it should? Firstly I'd like to thank

Re: ntdll: Add NtCreateKey tests

2005-03-03 Thread Alexandre Julliard
James Hawkins [EMAIL PROTECTED] writes: What are the steps I need to take to break registry initialisation? I did wonder how anything in the real win32 registry could be created though if you can't create a key directly under HKLM or HKU. If this really does break initialisation, can we

Re: [ADVAPI] SetSecurityInfo

2005-03-03 Thread Robert Shearman
Raphael wrote: Hi, Changelog: - simple implementation of SetSecurityInfo (seems to be needed by War3 frozen throne, cf http://forums.gentoo.org/viewtopic-t-303306.html?sid=3f962c702ae58ad8902ca839f33ffbd8) I have made a few comments on the implementation below: SRCDIR= @srcdir@ VPATH

Re: MSI: Radio Buttons

2005-03-03 Thread Dmitry Timoshkov
Ulrich Czekalla [EMAIL PROTECTED] wrote: +if (control-hwnd) +{ +WNDPROC oldproc = (WNDPROC) SetWindowLongPtrW(control-hwnd, GWLP_WNDPROC, +(LONG)MSIRadioGroup_WndProc); Then it's better to cast to LONG_PTR instead of LONG. -- Dmitry.

Re: Discussion on Bug tracking database

2005-03-03 Thread Tony Lambregts
Ann and Jason Edmeades wrote: Hello, I thought I'd try to start a discussion to try to encourage changes in the bug tracking, but it would both require agreement and someone (else) who could physically make the changes. Is it me or is our bug tracking database not really working the way it should?

Re: wine-user.pdf feedback 2

2005-03-03 Thread Vincent Béron
Le mer 02/03/2005 à 03:39, Dan W. a écrit : Okay, now I found what I think is a more serious missing piece of info in wine-user.pdf. In page 20, last paragraph, it says one can start off by modifying the sample config file, which can be found in the directory 'documentation/samples'...

Re: Make QueryServiceConfigW return an empty string for empty dependencies

2005-03-03 Thread James Hawkins
On Fri, 4 Mar 2005 13:54:34 +1100, Troy Rollo [EMAIL PROTECTED] wrote: QueryServiceConfigW currently returns a NULL pointer for lpDependencies when there are no dependencies. The documentation states that an empty string has the same meaning, and at least one application (an MSIEXEC.EXE from