CreateNamedPipe questions

2003-02-13 Thread Dan Kegel
Oddly enough, it looks like it's ok to pass NULL as the filename to CreateNamedPipe. Anyone know what programs do that, and why? Here's a patch that makes our CreateNamedPipe check for legal filenames (or NULL). It should probably allow forward slashes... The patch also adds a quickie regression

Re: CreateNamedPipe questions

2003-02-13 Thread Francois Gouget
On Wed, 12 Feb 2003, Dan Kegel wrote: [...] The patch also adds a quickie regression test, but I still have to use late binding for CreateNamedPipe (or is it ok for the test to fail on win9x?). Nope. Tests should succeed on all Windows platforms. For platforms where the API is not supported,

Re: CreateNamedPipe questions

2003-02-13 Thread Dmitry Timoshkov
Dan Kegel [EMAIL PROTECTED] wrote: Oddly enough, it looks like it's ok to pass NULL as the filename to CreateNamedPipe. Under Win2k CreateNamedPipe(NULL) in your test returns INVALID_HANDLE_VALUE but sets last error to ERROR_PATH_NOT_FOUND, not ERROR_INVALID_NAME as your test expects. It worth

Re: Fix for Treeview Regression in Putty, winamp, et al.

2003-02-13 Thread Drew \DanteAliegri\ Ogle
Dimitrie O. Paun wrote: On February 13, 2003 12:46 am, Drew \DanteAliegri\ Ogle wrote: When it is returning to a dialog, it returns a W, however, when the user code which the dialog calls is an A function, it excepts TVN_*A, when the treeview code is sending TVN_*W. It seems that the

Re: popupmenu itemsize

2003-02-13 Thread Uwe Bonnes
Christian == Christian Kristukat [EMAIL PROTECTED] writes: Christian Hi, I suspect that this again is a dirty patch but it helps Christian in working with Microcal Origin. Maybe a more skilled person Christian than me finds the real origin of this problem. At one point Christian

Re: popupmenu itemsize

2003-02-13 Thread Christian Kristukat
quote who=Uwe Bonnes ... Christian lpitem-rect.bottom += 12; + Nagic constants mostly are evil? It the 12 perhaps related to some SYSPARAMS? I agree, but I doubt that it can be related to any constant as it is an item of an ownerdrawn (I think this is what they called it in a comment)

Re: CreateNamedPipe questions

2003-02-13 Thread Dan Kegel
Francois Gouget wrote: 2. of calling the API and testing for the error code, usually ERROR_CALL_NOT_IMPLEMENTED CreateNamedPipe{A,W} exists on Win95 so at most you will need something along the lines of 2. Will do, thanks. -- Dan Kegel http://www.kegel.com

Re: CreateNamedPipe questions

2003-02-13 Thread Dan Kegel
Dmitry Timoshkov wrote: Under Win2k CreateNamedPipe(NULL) in your test returns INVALID_HANDLE_VALUE but sets last error to ERROR_PATH_NOT_FOUND, not ERROR_INVALID_NAME as your test expects. Thanks! For some reason, when I ran it on Win2K Professional, it seemed to succeed. I'll have to try it

Re: VC++ nmake not working with Wine 20030115 when it worked with200208xx

2003-02-13 Thread Tony Lambregts
J. Grant wrote: Hi, Calling nmake from /wcmd/ used to work, now it does not. I can't see why not, here is the debugger ouput if anyone knows whats wrong I'd be happy to hear! This is called a regression. I see you are not on CVS but if you switch to it, you could find the the patch that

Re: wcmd autoexec.bat?

2003-02-13 Thread davep
On Thursday 13 Feb 2003 02:22, J. Grant wrote: Hello I have been testing wcmd to automate some process I used to use on win98. However I can not find the autoexec.bat for wcmd? Currently the wcmd shell starts up with no prompt, this has to be corrected in my batch files. prompt $p$g etc.

Re: Wine default install queries - Wine 20030115

2003-02-13 Thread Tony Lambregts
J. Grant wrote: Hi, Is there a reason e:\test is in the default path when I install from CVS? (this dir does not exist) Curious its been there for over two years does anyone object to having it removed? There is no windows version defined in the [Version] block, should a windows version

Re: 2GB visible partition size

2003-02-13 Thread Alexandre Julliard
Tony Lambregts [EMAIL PROTECTED] writes: Actually Alexandre hasn't commented on it, so if it doesn't bit rot it still could be commited. However, at the time, there were some negative comments about it. It seems that the major concern is that it should do more than it does. Well, yes, if we

Re: For your consideration, here's a preview of some new seh_try_macros-type stuff...

2003-02-13 Thread Alexandre Julliard
Gregory M. Turner [EMAIL PROTECTED] writes: BTW, does wine really have non-gcc users? Or is it just a general policy to not be gcc-specific within the wine platform core since it might get recycled by other projects, etc...? There are people building Wine with the Sun compiler. Also it

Looking for information on implemented API's in wine

2003-02-13 Thread David Miller
I am ready to begin work on the actual database aspect of cross referencing the windows dlls. As part of the database I would like to include the status of a given API in wine so it will be possible to do things like query for all unimplemented APIs in a given dll. The first questions I have

Re: VC++ nmake not working with Wine 20030115 when it worked with200208xx

2003-02-13 Thread J. Grant
Hi Tony, This is called a regression. I see you are not on CVS but if you switch to it, you could find the the patch that broke the app. The link on how to do this is here. http://www.winehq.org/docs/wine-devel/cvs-regression.shtml OK, thank you for the infomation, very well written

Re: wcmd autoexec.bat?

2003-02-13 Thread J. Grant
Hello Sylvain, Sylvain Petreolle wrote: Currently the wcmd shell starts up with no prompt, this has to be corrected in my batch files. prompt $p$g etc. please update, this has been changed. Thanks for the info, I just tried the 20030115 and that prompt $p$g is default somewhere now. (is

Error in the server thread id fix

2003-02-13 Thread Bill Medland
Is anyone else looking into a problem that appears to have been introduced by the server change on Feb 1st changing thread and process ids to small integers? As a result ACCPAC for Windows' main desktop process shuts down after about a minute, but leaves various other processes running. I'll

Re: 2GB visible partition size

2003-02-13 Thread Tony Lambregts
Alexandre Julliard wrote: Tony Lambregts [EMAIL PROTECTED] writes: Actually Alexandre hasn't commented on it, so if it doesn't bit rot it still could be commited. However, at the time, there were some negative comments about it. It seems that the major concern is that it should do more than

Re: wcmd autoexec.bat?

2003-02-13 Thread Sylvain Petreolle
--- J. Grant [EMAIL PROTECTED] a écrit : Hello Sylvain, Sylvain Petreolle wrote: Currently the wcmd shell starts up with no prompt, this has to be corrected in my batch files. prompt $p$g etc. please update, this has been changed. Thanks for the info, I just tried the 20030115 and

Re: wcmd autoexec.bat?

2003-02-13 Thread Francois Gouget
On Thu, 13 Feb 2003, J. Grant wrote: [...] I think this is a key feature, I would like to use this to set some enviroment variables, currently I have to run a batch file manually each time I start wcmd. Could this be considered for implementation please? Why not set the environment variables

Re: VC++ nmake not working with Wine 20030115 when it worked with200208xx

2003-02-13 Thread Eric Pouech
J. Grant wrote: Hi, Calling nmake from /wcmd/ used to work, now it does not. I can't see why not, here is the debugger ouput if anyone knows whats wrong I'd be happy to hear! did you upgrade VC in the meantime ? were you using native or builtin msvcrt ? A+ -- Eric Pouech

Re: VC++ nmake not working with Wine 20030115 when it worked with200208xx

2003-02-13 Thread Tony Lambregts
J. Grant wrote: Hi Tony, This is called a regression. I see you are not on CVS but if you switch to it, you could find the the patch that broke the app. The link on how to do this is here. http://www.winehq.org/docs/wine-devel/cvs-regression.shtml OK, thank you for the infomation, very

suspended threads acquiring synchronization objects

2003-02-13 Thread Peter Hunnisett
Howdy, we've discovered that windows seems to not allow suspended threads to acquire synchronization objects, which make really really good sense, while wine does. I've attached a simple test case, the code for the test case and a ReWind licensed patch for the problem. Would people have a

Re: suspended threads acquiring synchronization objects

2003-02-13 Thread Dimitrie O. Paun
On Thu, 13 Feb 2003, Peter Hunnisett wrote: ... I've attached a simple test case, the code for the test case and a ReWind licensed patch for the problem. Are you sure? -- Dimi.

Re: Looking for information on implemented API's in wine

2003-02-13 Thread Rolf Kalbermatter
David Miller [EMAIL PROTECTED] wrote: I am ready to begin work on the actual database aspect of cross referencing the windows dlls. As part of the database I would like to include the status of a given API in wine so it will be possible to do things like query for all unimplemented APIs in a

Re: Error in the server thread id fix

2003-02-13 Thread Uwe Bonnes
Bill == Bill Medland [EMAIL PROTECTED] writes: Bill Is anyone else looking into a problem that appears to have been Bill introduced by the server change on Feb 1st changing thread and Bill process ids to small integers? Bill As a result ACCPAC for Windows' main desktop process

Re: VC++ nmake not working with Wine 20030115 when it worked with200208xx

2003-02-13 Thread J. Grant
Salut, Bien recu votre email. did you upgrade VC in the meantime ? Non, c'est tout comme avant. were you using native or builtin msvcrt ? Well, config [DllOverrides] has this line below, and I placed the msvcrt.dll in the mnake.exe dir, so I believe it could have been using it before.

Re: Wine default install queries - Wine 20030115

2003-02-13 Thread J. Grant
Hi, There is no windows version defined in the [Version] block, should a windows version be defined to use as default? The short answer is that it should not be required In the case where a program tries to detect what version of MS-Windows it is running on is there a default returned?

Re: Error in the server thread id fix

2003-02-13 Thread Mike Hearn
Ah ha, so that's the problem is it? I'm seeing a similar issue with IE6 after loading the adobe svg viewer plugin. For no apparent reason, Wine bombs after about 1-2 minutes. It doesn't crash or anything, it just stops, and the logs don't show anything out of the ordinary. The windows stay on the

Re: Looking for information on implemented API's in wine

2003-02-13 Thread Dimitrie O. Paun
On February 13, 2003 07:42 pm, Dave Miller wrote: I am ready to begin work on the actual database aspect of cross referencing the windows dlls. Hi Dave, I'm not sure if you intend to use a real database (like MySql, or PostgreSQL) to implement this, but if you do, I'd strongly advise against

Re: Looking for information on implemented API's in wine

2003-02-13 Thread Dave Miller
Sounds to me like I can use the spec files as a reference, but to be accurate I'll need to scan the source code as well for any APIs which the spec files claim are implemented in order to determine if they are only FIXMEs. :( I'll see if I can understand how winapi_check does it. -

Re: Error in the server thread id fix

2003-02-13 Thread Bill Medland
On February 13, 2003 11:42 am, Uwe Bonnes wrote: Bill == Bill Medland [EMAIL PROTECTED] writes: Bill Is anyone else looking into a problem that appears to have been Bill introduced by the server change on Feb 1st changing thread and Bill process ids to small integers? Bill

Re: Looking for information on implemented API's in wine

2003-02-13 Thread Dave Miller
Hmm. I did intend to use a database, specifically MySQL was my thinking. What I hoped was there would be a web interface to query the database and so everyone would not have to have MySQL to use it. Of course it needs to be hosted somewhere but I figured I'd cross that bridge when it became a

Re: 2GB visible partition size

2003-02-13 Thread J. Grant
Hello, Actually Alexandre hasn't commented on it, so if it doesn't bit rot it still could be commited. However, at the time, there were some negative comments about it. It seems that the major concern is that it should do more than it does. The relevant thread on its pros and cons is here.

Re: popupmenu itemsize

2003-02-13 Thread Brad Campbell
Uwe Bonnes wrote: Christian PS: By the way: every cvs operation (update, diff) hangs Christian after processing the last directory. However it seems to be Christian complete and pressing CTRL-C seems not to corrupt Christian anything. Any ideas? Are you using

Re: Wine default install queries - Wine 20030115

2003-02-13 Thread Sylvain Petreolle
am I forbidden to call my dog 'ms-dos' ? Well to be case correct Wine. I think this is a holdover from when wine needed windows so the drive would be MS-DOS as oppossed to *nix The label is irrelavant to wine but.(ahem) isn't MS-DOS a (tm). Anyways changing it would not hurt any objections

Re: 2GB visible partition size

2003-02-13 Thread Duane Clark
Tony Lambregts wrote: Alexandre Julliard wrote: Well, yes, if we really need to change the fstype it should be a generic option that allows all types to be specified, not just NTFS. And it shouldn't overload the existing type parameter, it should be a separate entry. OK. I guess my biggest

Keyboard shortcut to disable DXGrab?

2003-02-13 Thread Matthew Toseland
What would be involved in implementing a keyboard shortcut (ideally configurable) to temporarily disable DXGrab, when playing a game in a window? If such a thing was done, would it be accepted into the source? -- Matthew Toseland [EMAIL PROTECTED][EMAIL PROTECTED] Full time freenet hacker.

Re: suspended threads acquiring synchronization objects

2003-02-13 Thread Duane Clark
Dimitrie O. Paun wrote: On Thu, 13 Feb 2003, Peter Hunnisett wrote: ... I've attached a simple test case, the code for the test case and a ReWind licensed patch for the problem. Are you sure? The version with the attached test case got stuck in moderator limbo because it is 60KB, and I

Re: Error in the server thread id fix

2003-02-13 Thread Eric Pouech
Bill Medland wrote: Is anyone else looking into a problem that appears to have been introduced by the server change on Feb 1st changing thread and process ids to small integers? does this help ? A+ -- Eric Pouech Index: server/snapshot.c

Re: wcmd autoexec.bat?

2003-02-13 Thread J. Grant
Hi, Sylvain Petreolle: davep email arrived here after, not sure why. There is code in wcmdmain.c (line 113) to execute a batch file c:\autoexec.bat but it is commented out - it could be dangerous in a dual-boot machine to execute such a batch file by default. OK, this sounds like a good

Re: wine/dlls/comctl32 listview.c

2003-02-13 Thread Dimitrie O. Paun
On February 12, 2003 11:49 am, Rein Klazes wrote: This causes a rgeression in newsbin. The listview with the headers do not update during a retrieve all headers. Indeed. Thanks for the bug report. Please give this a shot, it should fix it. ChangeLog Correctly remember the first paint event,

Re: wcmd autoexec.bat?

2003-02-13 Thread J. Grant
Hi Francois Gouget, Thanks for the reply. Francois Gouget wrote: On Thu, 13 Feb 2003, J. Grant wrote: [...] I think this is a key feature, I would like to use this to set some enviroment variables, currently I have to run a batch file manually each time I start wcmd. Could this be considered

Re: Error in the server thread id fix

2003-02-13 Thread Bill Medland
On February 13, 2003 11:56 am, Mike Hearn wrote: Ah ha, so that's the problem is it? I'm seeing a similar issue with IE6 after loading the adobe svg viewer plugin. For no apparent reason, Wine bombs after about 1-2 minutes. It doesn't crash or anything, it just stops, and the logs don't show

Re: Error in the server thread id fix

2003-02-13 Thread Bill Medland
On February 13, 2003 12:29 pm, Eric Pouech wrote: Bill Medland wrote: Is anyone else looking into a problem that appears to have been introduced by the server change on Feb 1st changing thread and process ids to small integers? does this help ? A+ Yep. (So should the fix be there or

Re: Error in the server thread id fix

2003-02-13 Thread Eric Pouech
Bill Medland wrote: On February 13, 2003 12:29 pm, Eric Pouech wrote: Bill Medland wrote: Is anyone else looking into a problem that appears to have been introduced by the server change on Feb 1st changing thread and process ids to small integers? does this help ? A+ Yep. (So should the

Re: VC++ nmake not working with Wine 20030115 when it worked with200208xx

2003-02-13 Thread J. Grant
OK, Eric Pouech wrote: snip were you using native or builtin msvcrt ? I installed Wine 20020804 again, and it is working again, it was using msvcrt.dll that I had placed in the bin dir. I get the following error without it, and the command returns without displaying anything.

Re: VC++ nmake not working with Wine 20030115 when it worked with200208xx

2003-02-13 Thread J. Grant
Hi Tony, I did regression testing via modem in the past. cvs -z 3 compresses the stream so that download times are minimized. The number of downloads required to find the day. OK, thaks for this useful infomation! I have a 1GHz athlon so it should not be too painful. I will give it a try

Re: VC++ nmake not working with Wine 20030115 when it worked with200208xx

2003-02-13 Thread J. Grant
Hi Tony, I did regression testing via modem in the past. cvs -z 3 compresses I have been looking for the best way to tackle this. http://www.winehq.org/docs/wine-devel/cvs-regression.shtml On this page cvs-dirs-2000-05-20.tar.gz is used, but I can not find a file starting with this

Re: For your consideration, here's a preview of some new seh_try_macros-typestuff...

2003-02-13 Thread Dan Kegel
Alexandre Julliard wrote: There are people building Wine with the Sun compiler. Also it makes sense for at least some dlls to allow building them with MSVC to test them under Windows. And in general using different compilers is a good way to shake out bugs from the code. I always build my

Re: Listview delete column zero

2003-02-13 Thread Dimitrie O. Paun
On February 13, 2003 11:06 pm, Duane Clark wrote: I probably should have mentioned why the app deletes column zero. It repeatedly deletes column zero, testing the returned Boolean until it gets false, and then it starts inserting new columns. So it ends up completely replacing the listview

Re: 2GB visible partition size

2003-02-13 Thread Tony Lambregts
Duane Clark wrote: Tony Lambregts wrote: Alexandre Julliard wrote: Well, yes, if we really need to change the fstype it should be a generic option that allows all types to be specified, not just NTFS. And it shouldn't overload the existing type parameter, it should be a separate entry.

Re: Wine default install queries - Wine 20030115

2003-02-13 Thread J. Grant
Hi, WTH.. how is it getting this? something is wrong before this. Get rid of you old config file (rename it junk or something) and rerun ./tools/wineinstall. I would like to see the full log of this. OK: Created /home/now3d/.wine/config using default Wine configuration. You probably want

Re: VC++ nmake not working with Wine 20030115 when it worked with200208xx

2003-02-13 Thread J. Grant
Salut Vincent, Thanks for your reply. This is most probably not what you want. If you grab this file, you'll have every (as in, since 1998 or so) revision of every file in the Wine CVS repository. Although with that, you won't need a net connection to do regressions before the day you

Re: Wine default install queries - Wine 20030115

2003-02-13 Thread Tony Lambregts
J. Grant wrote: Hi, WTH.. how is it getting this? something is wrong before this. Get rid of you old config file (rename it junk or something) and rerun ./tools/wineinstall. I would like to see the full log of this. OK: Created /home/now3d/.wine/config using default Wine

Re: VC++ nmake not working with Wine 20030115 when it worked with200208xx

2003-02-13 Thread Dan Kegel
Tony Lambregts wrote: http://www.winehq.org/docs/wine-devel/cvs-regression.shtml Unfortunatly I am on a momdem, which restricts my abilities here. I will look for a workaround to find the regression patch. I did regression testing via modem in the past. cvs -z 3 compresses the stream so

Re: Wine default install queries - Wine 20030115

2003-02-13 Thread J. Grant
Hi, This looks like a good thing to setup the locale etc. However, I have LANG=en_GB.UTF-8, so perhaps it should have selected en_GB in this process. It started doing this when I ran wcmd for the first time after installing. Regards JG $ wcmd Could not stat /mnt/fd0 (No such file or

named pipes still broken?

2003-02-13 Thread Dan Kegel
Is it just me, or are named pipes broken for other people, too? In my tests, Wine can create named pipes, but the reading side can't open them. (Even without my recent changes to sync.c which added filename checking.) - Dan -- Dan Kegel http://www.kegel.com

Re: VC++ nmake not working with Wine 20030115 when it worked with200208xx

2003-02-13 Thread Tony Lambregts
J. Grant wrote: OK, Eric Pouech wrote: snip were you using native or builtin msvcrt ? I installed Wine 20020804 again, and it is working again, it was using msvcrt.dll that I had placed in the bin dir. I get the following error without it, and the command returns without displaying

Re: VC++ nmake not working with Wine 20030115 when it worked with200208xx

2003-02-13 Thread J. Grant
Hi Tony, Thanks for the info. fixme:msvcrt:_XcptFilter (0,0x40626b58)semi-stub wine client error:0x80bd8b0: partial write 64 Sounds like this bug then. http://bugs.winehq.com/show_bug.cgi?id=1257 it is fixed by this patch (not yet in CVS)

Re: VC++ nmake not working with Wine 20030115 when it worked with200208xx

2003-02-13 Thread Tony Lambregts
J. Grant wrote: Hi Tony, Thanks for the info. fixme:msvcrt:_XcptFilter (0,0x40626b58)semi-stub wine client error:0x80bd8b0: partial write 64 Sounds like this bug then. http://bugs.winehq.com/show_bug.cgi?id=1257 it is fixed by this patch (not yet in CVS)