Re: WCMD AutoExec patch

2003-02-24 Thread davep
On Monday 24 Feb 2003 20:10, Eric Pouech wrote: As discussed on Wine-devel recently this patch allows wcmd to execute a file autoexec.wine if it exists in the root directory of the default drive. I think we'd better shouldn't we look in %sysdir%\system32\autoexec.wine instead (that's

Re: wcmd/wine default window configuration

2003-02-21 Thread davep
On Thursday 20 Feb 2003 22:41, J. Grant wrote: Hello I have been using wcmd lately, its been really useful to my research. However, could wcmd default to its command history (a la doskey) value to something other than zero please? Perhaps 50 would be enough, it would not take up much memory

Re: wcmd autoexec.bat?

2003-02-18 Thread davep
On Monday 17 Feb 2003 23:59, J. Grant wrote: Hi, Bodo Wenzel wrote: I think this is a key feature, I would like to use this to set some environment variables, currently I have to run a batch file manually each time I start wcmd. Could this be considered for implementation please?

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: mkdir, copy, etc.

2003-01-28 Thread davep
On Tuesday 28 Jan 2003 11:07, Jon Bright wrote: Hi, I'm trying to build OpenSSL using Borland Builder 5 within wine. Installation of Builder has gone fine, ActiveState Perl went on after a bit of fiddling, but I've now hit a small problem. The makefile for OpenSSL attempts to run mkdir,

Re: Implementation of start.exe, take 3

2003-01-18 Thread davep
On Saturday 18 Jan 2003 08:44, Dan Kegel wrote: Remaining issue I could use help with: * multiline strings from resource file are displayed with extra newline between lines in wine, but not in windows. To reproduce, build either as winelib app or build under MSVC6, then run in wine; usage

Re: multiline strings in .rc files (was: Implementation of start.exe, take 3)

2003-01-18 Thread davep
On Saturday 18 Jan 2003 19:29, Dan Kegel wrote: davep wrote: On Saturday 18 Jan 2003 08:44, Dan Kegel wrote: Remaining issue I could use help with: * multiline strings from resource file are displayed with extra newline between lines in wine, but not in windows. To reproduce, build either

Re: multiline strings in .rc files (was: Implementation of start.exe, take 3)

2003-01-18 Thread davep
On Saturday 18 Jan 2003 21:45, Dan Kegel wrote: Something's fishy here. Our .rc files should be usable in both environments without change. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tools/rc_ 490l.asp says that \ is a simple line-continuation character. Thus \ at

Re: Use COMSPEC command interpreter to run .bat files.

2002-12-04 Thread davep
On Wednesday 04 Dec 2002 09:48, Sylvain Petreolle wrote: Here is what I get in wcmd : Cdir cygwin.bat Volume in drive C is Volume Serial Number is 1234-5678 Directory of C:\cygwin\ 01/03/2002 05:05:1655 cygwin.bat 1 file55 bytes 0

Re: shortcuts doesn't work under wcmd

2002-05-13 Thread davep
On Monday 13 May 2002 18:44, Insyde wrote: Hi, I have a system that's working ok except for one more thing (Property sheet is under tests since Guy sends a patch): It execute an external .pif file. I've noticed that it doesn't work, old stuff, but it still works under win2k. It's used to

Missing INT21h functions

2001-05-12 Thread davep
Trying (more in hope than expectation) to run an ancient DOS program under Wine, I get this failure: err:int21:DOS3Call int21: unknown/not implemented parameters: int21: AX 0f9f, BX 005c, CX , DX 005c, SI 008e, DI 005c, DS 107f, ES 109f Sure enough, DOS3Call() has a series of functions,

Re: RegSetValueEx problem?

2001-04-11 Thread davep
On Mon, 09 Apr 2001, you wrote: gerard patel [EMAIL PROTECTED] writes: I have browsed server/registry.c and it seems that the registry stores a terminating null for strings; so if you have in the registry file a string like "0123456789", it get in memory a length of 11. So I guess that

Re: RegSetValueEx problem?

2001-04-08 Thread davep
On Sun, 01 Apr 2001, you wrote: At 01:59 PM 31/03/2001 +0100, you wrote: snip Compiling and running Winemine under Windows 95 this problem doesn't occur. Win95 truncates the value at the first null. Under NT4 SP6, if I write (for example) '47' + 0 + 13 bytes of garbage, I get exactly

Re: RegSetValueEx problem?

2001-04-02 Thread davep
On Sun, 01 Apr 2001, you wrote: At 01:59 PM 31/03/2001 +0100, you wrote: snip Compiling and running Winemine under Windows 95 this problem doesn't occur. Win95 truncates the value at the first null. Under NT4 SP6, if I write (for example) '47' + 0 + 13 bytes of garbage, I get exactly

RegSetValueEx problem?

2001-03-31 Thread davep
I've been trying to track down why WineMine does not save my best scores ;-( On exit, WineMine saves the current user settings to the registry with code like this: char data[16]; wsprintf( data, "%d", p_board-pos.x ); RegSetValueEx( hkey, "Xpos", 0, REG_SZ, (LPBYTE) data, sizeof(

Re: Registry patch

2001-02-13 Thread davep
On Tue, 13 Feb 2001, you wrote: davep [EMAIL PROTECTED] writes: RegQueryValue() RegEnumValue() We need to return the data length for REG_BINARY value types as well as strings when called with a null buffer pointer. I don't understand why you need that. We already return the data

Debugging GDI crash - anyone help?

2001-01-21 Thread davep
I'm trying to track down a crash in a commercial application (Lotus 123 '97) and would appreciate some advice on how to proceed. The application crashes while painting its splash screen due to the use of a null pointer in a function called from X11DRV_BitBlt. Tracing back, things begin to go

Re: Debugging GDI crash - anyone help?

2001-01-21 Thread davep
On Sun, 21 Jan 2001, you wrote: Looking at the X11DRV driver there are quite a few places where the GDI_GetObjPtr return value is not tested; how about returning the appropriate error code in case of failure ? Quick and easy, and also the Right Thing (TM). Yes I wondered about that. The

How to debug?

2001-01-14 Thread davep
Is there any up-to-date information on using the Wine debugger following the Great DLL Separation? I have a commercial application which crashes in X11DRV_BitBlt during startup, and I'd like to step through the failing code to find the problem. However I can't set a breakpoint at X11DRV_BitBlt,

Re: How to debug?

2001-01-14 Thread davep
On Sun, 14 Jan 2001, you wrote: At 09:23 AM 1/14/01 +, you wrote: I have a commercial application which crashes in X11DRV_BitBlt during startup, and I'd like to step through the failing code to find the problem. However I can't set a breakpoint at X11DRV_BitBlt, I suspect because the .so

Winemaker problem

2000-12-05 Thread davep
I've been attempting to port a Windoze project to winelib using the new 'winemaker' facility, updated from CVS on Sunday. In the course of an afternoon I got a 50,000-line application to compile clean (discovering several latent bugs in the process!), however the final link operation fails thus:

Re: Winemaker problem

2000-12-05 Thread davep
On Tue, 05 Dec 2000, you wrote: On Tue, 5 Dec 2000, davep wrote: itoa and strupr: these are MS extensions to the C library. They come in two forms: with and without a leading underscore. Try adding the following macros where you use them: #define itoa(x,buf,rdx)_itoa(x,buf

Re: SHGetFileInfo patch - resubmit

2000-10-24 Thread davep
On Mon, 23 Oct 2000, you wrote: davep [EMAIL PROTECTED] writes: Right. So I must duplicate the functionality I need from loader/module.c in dlls/shell32/shell32/main.c? You can of course use the exported GetBinaryTypeA/W functions; what you cannot use is the internal

Re: SHGetFileInfo patch - resubmit

2000-10-23 Thread davep
On Mon, 23 Oct 2000, you wrote: davep [EMAIL PROTECTED] writes: I submitted this patch a few weeks ago but it seems to have fallen into the black hole... I would appreciate feedback if there is a problem with the implementation. As you mentioned yourself in your first submission