[setupapi/tests] Any reason why we do a GetProcAddress for the functions?

2007-07-31 Thread Paul Vriens
Hi, Is there any reason we do a GetProcAddress for the setupapi functions used in the setupapi tests? It look like they are exported properly on win95 until Vista. Or is it just because the first patch for these tests did LoadLibrary/GetProcAddress so the rest followed? Although most of

Re: About new environment variable

2007-07-31 Thread Stefan Dösinger
Am Dienstag, 31. Juli 2007 05:24 schrieb Zhongli Xu: After I add an environment avriable in the system.reg file, e.g. [System\\CurrentControlSet\\Control\\Session Manager\\Environment] 1185851455 MY_VARIABLE=VALUE I tried to read this variable thru the API GetEnvironmentVariable(), but it

Re: user32: Add a stub for GetAppCompatFlags2

2007-07-31 Thread Michael Stefaniuc
Hello Detlef, Detlef Riekenberg wrote: Fix a Crash in PDFCreator with native ps5ui.dll Changelog: user32: Add a stub for GetAppCompatFlags2 From c2e87ce86f59f8b4346e682fd16d0d7364ba1848 Mon Sep 17 00:00:00 2001

RPC questions

2007-07-31 Thread Kai Blin
Hi folks, I will be getting into working on RPC soonish, and some of that I'd like to use for Wine. However, I don't know my way around that code so far, what would be a good starting point to tackle this? My goal is to set up a daemon that will take care of remote named pipes over smb and

Re: Add winhttp.dll.

2007-07-31 Thread Vijay Kiran Kamuju
Hi Jacek, I think you can use the header I sent a while back to wine-patches for this. http://www.winehq.org/pipermail/wine-patches/2005-September/020901.html The original patch: http://www.winehq.org/pipermail/wine-patches/attachments/20050923/790dfab2/winhttp-0001.obj This might require some

Re: WineD3D: compile against standard GL headers

2007-07-31 Thread H. Verbeet
On 31/07/07, Roderick Colenbrander [EMAIL PROTECTED] wrote: Hi, This patch allows WineD3D to build against a standard GL.h and removes the dependency on glext.h. This is useful for building WineD3D against opengl32.dll. Regards, Roderick Colenbrander - You should #define the extensions to

Re: WineD3D: compile against standard GL headers

2007-07-31 Thread Stefan Dösinger
- GL_ARB_multisample GL_EXT_vertex_weighting also define new functions, you should add those as well. While we're at it, GL_EXT_vertex_weighting can be removed altogether. WineD3D only checks for it, but does not use it, and it has been discontinued in favor of vertex shaders or

Re: Direct3D Game test framework

2007-07-31 Thread martin pilka
With Francois' help I could build a test package for 3DMark2000 now: http://stud4.tuwien.ac.at/~e0526822/3dmark2000.tar.bz2 It runs two tests, one at 640x480, another one at 1024x768, writes the results to a file and reads the file back. No benchmark results are sent to the server

Re: #4 pdh: Implement and test PdhAddEnglishCounter{A, W} and PdhCollectQueryDataWithTime.

2007-07-31 Thread Paul Vriens
Alexandre Julliard wrote: Paul Vriens [EMAIL PROTECTED] writes: I'll have a look. How do yo want to report a missing test? In the normal report file? If that's the case we should also change the dissect/gather scripts: It has to be part of the report data, so yes the scripts probably need

Re: Direct3D Game test framework

2007-07-31 Thread Stefan Dösinger
Am Dienstag, 31. Juli 2007 12:28 schrieb martin pilka: With Francois' help I could build a test package for 3DMark2000 now: http://stud4.tuwien.ac.at/~e0526822/3dmark2000.tar.bz2 It runs two tests, one at 640x480, another one at 1024x768, writes the results to a file and reads the file

Re: WineD3D: compile against standard GL headers [attempt2]

2007-07-31 Thread H. Verbeet
On 31/07/07, Roderick Colenbrander [EMAIL PROTECTED] wrote: Hi, This is the second version of this patch. As Henri suggested extensions are now defined to 1 and GL_EXT_LEGACY has been set too. That's better, but you're still missing the functions for GL_ARB_multisample and

Re: user32: erase parent when hiding child

2007-07-31 Thread Alexandre Julliard
Dmitry Timoshkov [EMAIL PROTECTED] writes: Clinton Stimpson [EMAIL PROTECTED] wrote: ChangeLog: user32: erase parent when hiding child As I already pointed out erasing a parent is supposed to be done in the server. You need to look there why it doesn't happen and add a fix there. The

Re: [PATCH 3/5] winecfg: Make winecfg resources compilable by aWindows resource compiler

2007-07-31 Thread Frank Richter
On 31.07.2007 05:37, Dmitry Timoshkov wrote: rc doesn't support embedded or escaped quotes at all. So statements like LTEXT String with quotes,-1,7,7,120,8 or LTEXT String with \quotes\,-1,7,7,120,8 don't work. The strings I'm using and that work for me look like: LTEXT String with

Re: wine3d3: Check the destination recangle when for FastBlt().

2007-07-31 Thread Stefan Dösinger
I have taken another look at it. I still think this specific problem should be fixed in wined3d. The problem occurs because BltFast (ddraw, d3d and d3d-gdi) all take two DWORDs as the offset write position, and then later casts them into a RECT structure which has signed values. This must for

Re: Direct3D Game test framework

2007-07-31 Thread martin pilka
Hello Stefan, link works, I was able to run your test. Installation is ok, however test itself ends with '3DMark Error': '3DMark needs DirectX 7 and proper drivers installed in order to run'. This happens without CxTest as well, with latest WineHq. Note that DirectX7 or newer is correctly

msvcr80 support!

2007-07-31 Thread Luke Bratch
--- Stefan Dösinger [EMAIL PROTECTED] wrote: Windows Live messenger still refuses to start. Do I have to do anything special(other than updating wine), or should I report a bug for this: /usr/src/wine/linux/wine msnmsgr.exe fixme:actctx:parse_depend_manifests Could not find dependent

Re: [PATCH 3/5] winecfg: Make winecfg resources compilable by aWindows resource compiler

2007-07-31 Thread Dmitry Timoshkov
Frank Richter [EMAIL PROTECTED] wrote: Why? Because if that character doesn't exist in their locale they would need to figure out first what that code was supposed to express, and find a suitable replacement next. I suppose a translator could look at the e.g. English original in the

Re: Patch: VarWeekdayName

2007-07-31 Thread Juan Lang
Hi Jiri, I want to ask, is anything wrong with this patch? Your indenting is haphazard. Please match the indenting in the rest of the file, which in this case is no tabs, 2-space indenting. Also, curly braces go on a new line, so e.g.: + if (!size) { should be + if (!size) + { instead.

Re: [PATCH 3/5] winecfg: Make winecfg resources compilable by aWindows resource compiler

2007-07-31 Thread Alexandre Julliard
Dmitry Timoshkov [EMAIL PROTECTED] writes: Frank Richter [EMAIL PROTECTED] wrote: I suppose a translator could look at the e.g. English original in the appropriate codepage(ie 1252) and easily recognize quote characters - if it can't be gathered from the context. Then finding a suitable

Re: Direct3D Game test framework

2007-07-31 Thread Stefan Dösinger
Am Dienstag, 31. Juli 2007 16:42 schrieb martin pilka: Hello Stefan, link works, I was able to run your test. Installation is ok, however test itself ends with '3DMark Error': '3DMark needs DirectX 7 and proper drivers installed in order to run'. This happens without CxTest as well, with

Re: WineD3D: compile against standard GL headers [attempt3]

2007-07-31 Thread H. Verbeet
On 31/07/07, Roderick Colenbrander [EMAIL PROTECTED] wrote: Hi, In this version I have also added the prototype for the ARB multisample extension. Did you attach the wrong patch?

Re: [PATCH 3/5] winecfg: Make winecfg resources compilable byaWindows resource compiler

2007-07-31 Thread Dmitry Timoshkov
Alexandre Julliard [EMAIL PROTECTED] wrote: Like it or not different languages use different styles of quoting, and you can't force everybody to use single quotes just because a couple of places are escaping incorrectly. Not a couple of places! It got spreaded by copy/pasting over almost all

Re: update of msvcrt.spec

2007-07-31 Thread Dmitry Timoshkov
Luis C. Busquets Pérez [EMAIL PROTECTED] wrote: This patch updates the msvcrt.spec and adds the version number of the product. Note that with the same file version number there are various product version number files. msvcrt in Windows doesn't export APIs you have added by ordinal. Also

Re: dpnlobby.dll implementation

2007-07-31 Thread Maarten Lankhorst
Luis C. Busquets Pérez schreef: File that just forwards one function included for compatibility issues Hi, I think you're missing a few files here, are you sure you've added the files from dlls/dpnlobby? Cheers, Maarten

Re: [PATCH 3/5] winecfg: Make winecfg resources compilable byaWindows resource compiler

2007-07-31 Thread Alexandre Julliard
Dmitry Timoshkov [EMAIL PROTECTED] writes: Not a couple of places! It got spreaded by copy/pasting over almost all of .rc files. For what gain? Just because somebody likes fancy things? There's no reason not to use standard quotes just because wrc doesn't detect the wrong escaping. Fix wrc.

Re: [PATCH 3/5] winecfg: Make winecfg resources compilable byaWindows resource compiler

2007-07-31 Thread Frank Richter
On 31.07.2007 17:44, Dmitry Timoshkov wrote: Alexandre Julliard [EMAIL PROTECTED] wrote: Like it or not different languages use different styles of quoting, and you can't force everybody to use single quotes just because a couple of places are escaping incorrectly. Not a couple of

Interesting bit on schedulers and Wine

2007-07-31 Thread Juan Lang
Sorry for the spam. There's been a flame^H^H^H^H^Hthread over on lkml about CFS and SD schedulers, and Ingo's tested Quake3 on Wine using both: http://kerneltrap.org/node/14023 Someone else tested UT2004 with both as well, and there are pretty pictures:

Re: [Wine] About new environment variable

2007-07-31 Thread Detlef Riekenberg
On Di, 2007-07-31 at 11:24 +0800, Zhongli Xu wrote: After I add an environment avriable in the system.reg file, e.g. The Files are Private to wine and a running wine overwrite your Changes. When you want to change the registry use wine regedit.exe and use the GUI, or create a *.reg file and

Outstanding regression in unicode since 0.9.41

2007-07-31 Thread Scott Ritchie
Regressions are easiest to fix when caught quickly. Here's one that didn't get fixed in the latest version: http://bugs.winehq.org/show_bug.cgi?id=8948 If anyone needs help reproducing it, you can ask me for help. It should be as simple as the (scrolled down) part of the bug report though -

Re: dinput - Allow the use of the standard Joystick GUID when calling CreateDevice

2007-07-31 Thread Peter Dons Tychsen
On Tue, 2007-07-31 at 06:34 -0600, Vitaliy Margolen wrote: Peter Dons Tychsen wrote: On Mon, 2007-07-30 at 21:20 +0200, Peter Dons Tychsen wrote: On Sun, 2007-07-29 at 17:43 -0600, Vitaliy Margolen wrote: Peter Dons Tychsen wrote: OK. Please review this diff: I will re-submit it if

Re: dlls/comctl32: According to the PSDK, DrawShadowText() takes a non-const RECT pointer.

2007-07-31 Thread Andrew Talbot
Yes. It seems that the corresponding MSDN web page is out of step. -- Andy.

Re: msvcr80 support!

2007-07-31 Thread Detlef Riekenberg
Hi Evan. For the case, that you are still searching apps, that need gdiplus.dll: On Mo, 2007-07-30 at 18:52 +0200, Kovács András wrote: Hi, Msn live messenger can be started by commenting out @ stdcall FindActCtxSectionStringA(long ptr long str ptr) @ stdcall

Re: user32: Add a stub for GetAppCompatFlags2

2007-07-31 Thread Detlef Riekenberg
On Di, 2007-07-31 at 11:03 +0200, Michael Stefaniuc wrote: Hello Detlef, +/*** + * GetAppCompatFlags (USER32.@) The comment doesn't match the function name. Upps. Thanks for the catch. Alexandre fixed this

32bit winelib builds in x86_64

2007-07-31 Thread Michael Ost
What's the command for building a 32bit winelib .dll.so and .exe.so with wineg++ in an x86_64 environment? I am used to doing dlls with: $ wineg++ -shared DLL.spec -o DLL.dll.so ... and exes with: $ wineg++ -o APP.exe.so ... Seems I need to use -m32 for g++, --32 for as, and -m elf_i386 for

Re: dinput - Allow the use of the standard Joystick GUID when calling CreateDevice

2007-07-31 Thread Vitaliy Margolen
Peter Dons Tychsen wrote: On Tue, 2007-07-31 at 06:34 -0600, Vitaliy Margolen wrote: Peter Dons Tychsen wrote: On Mon, 2007-07-30 at 21:20 +0200, Peter Dons Tychsen wrote: On Sun, 2007-07-29 at 17:43 -0600, Vitaliy Margolen wrote: Peter Dons Tychsen wrote: OK. Please review this diff: I

Re: [4/4] winex11.drv: draw custom dashes [try2]

2007-07-31 Thread Evan Stade
On 7/30/07, Evan Stade [EMAIL PROTECTED] wrote: Hi, [try2] * matched braces style of rest of file * spread code out to make it more readable * simplified use of gdi_to_x11_dashes dlls/winex11.drv/graphics.c |3 + dlls/winex11.drv/pen.c | 123

Re: Implement LockWorkstation using xdg-screensaver from explorer

2007-07-31 Thread Steven Edwards
On 7/27/07, Alexandre Julliard [EMAIL PROTECTED] wrote: Some sort of SendMessage to the desktop window should do the trick. Please ignore my other email to you. So something like this? Thanks for Vitaman on IRC for pointing out that spawnvp killed the calling process. -- Steven Edwards There