Re: Load .so error

2002-10-09 Thread Sylvain Petreolle

The error 2 is in many cases file not found.
See include/winerror.h :

78:#define ERROR_FILE_NOT_FOUND   2

> I already managed to load a .so recently but I can't get it to work
> on my
> new PC. The Windows dll was MyDll.dll which I turned now into a .so.
> ELF_LoadLibraryExA is looking for a libMyDll.so but returns with
> error=2.
> I couldn't find out what this error means. I have my .so with same
> spelling
> and case in various places (local to exe, windows\system, /usr/lib,
> /usr/local/lib) but nothing helped. I take it that this is a Linux
> problem and
> not from wine. Maybe something with rights?


___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com




Problems with multiple Wine programs at once

2002-10-09 Thread David D. Hagood

I have the misfortune of needing to use Windows based DSP compilers for 
a project I am working on. Fortunately, they run under Wine just fine.

So, the actual makefile is executed by a native GNU/Linux make, but the 
compile and assemble parts are Windows programs running under Wine 
(using Linux's binfmt_misc to launch them.)

If I do a normal make, all is well. However, if I try to do a "make -j2" 
then after a few moments all the wine processes will freeze. Doing a ps 
-o wchan shows all the wine processes stuck in pipe_wait, and the 
wineserver process in do_poll.

Has any body else seen this sort of behavior?





Please ignore previous posting

2002-10-09 Thread Matthew Davison

Please ignore my previous posting (if it even showed up), the fault was
nothing to do with wine.
-- 

Matthew Davison





Office XP bug in cvs

2002-10-09 Thread Matthew Davison

a week or so ago word and excel XP started working on my machine under
wine, after updating from cvs they will not start. They did work with
CVS at lunchtime today, however.
-- 

Matthew Davison





Re: Scrollbar clean up part 1

2002-10-09 Thread Alexandre Julliard

"Andrew M. Johnston" <[EMAIL PROTECTED]> writes:

> This interim patch will do a little more drawing than is strictly necessary.
> (I hear what you asked re not changing names of things but in the interest of
> producing something this version does make the structure names lower case
> as is common else where and hence there are some irrelevant changes in
> SCROLL_GetScrollBarRect) 

I still don't see much reason for renaming these things, but if you
really want to do it, again a separate patch with just that change
would be nicer. Also if you could avoid changing all the indentation
it would make it a lot easier to see the real changes. Your patch
breaks the scrollbars in notepad for me, but there are so many
irrelevant differences that finding the bug is a lot more painful than
it should be.

-- 
Alexandre Julliard
[EMAIL PROTECTED]




Re: wine/dlls/msvideo/msrle32: Some minor bugfixes.

2002-10-09 Thread Eric Pouech

Michael Günnewig a écrit :
> 
> Hallo.
> 
> The following patch prevents some segfaults in the msrle32.
> 
> It adds also the necessary line to the sample system.ini for using
> this video codec.
arrgh, I just sent your patch to wine-patches...
for next patches (if there will be some more ;-), can we assume you'll
send them to both rewind & wine ? (just to avoid doing twice the same
job)
A+




Re: building ntdll on cygwin

2002-10-09 Thread Alexandre Julliard

Steven Edwards <[EMAIL PROTECTED]> writes:

> we get much futher now when building ntdll on cygwin. when linking I
> am getting the following error
> 
> ntdll.exp(.edata+0xe4c):fake: undefined reference to `NTDLL_alloca_probe@0'
> ntdll.exp(.edata+0xe5c):fake: undefined reference to `NTDLL_chkstk@0'
> 
> there are some other warnings but this is the only major thing with ntdll.

This should fix it:

Index: tools/winebuild/spec32.c
===
RCS file: /opt/cvs-commit/wine/tools/winebuild/spec32.c,v
retrieving revision 1.52
diff -u -r1.52 spec32.c
--- tools/winebuild/spec32.c15 Aug 2002 23:21:03 -  1.52
+++ tools/winebuild/spec32.c9 Oct 2002 19:19:04 -
@@ -863,7 +863,7 @@
 ORDDEF *odp = EntryPoints[i];
 
 if (!odp) continue;
-if (odp->flags & FLAG_NOIMPORT) continue;
+if (odp->flags & (FLAG_NOIMPORT|FLAG_REGISTER)) continue;
 if (odp->type == TYPE_STUB) continue;
 
 if (odp->name) name = odp->name;

-- 
Alexandre Julliard
[EMAIL PROTECTED]




building ntdll on cygwin

2002-10-09 Thread Steven Edwards

we get much futher now when building ntdll on cygwin. when linking I am 
getting the following error

ntdll.exp(.edata+0xe4c):fake: undefined reference to `NTDLL_alloca_probe@0'
ntdll.exp(.edata+0xe5c):fake: undefined reference to `NTDLL_chkstk@0'

there are some other warnings but this is the only major thing with ntdll.

Thanks
Steven





Re: AW: winedbg - walk wnd broken?

2002-10-09 Thread Eric Pouech

Roger Eisenecher a écrit :
> 
> > > I am using winedbg with the commands "walk wnd" or "info wnd ". But 
>unfortunately both functions seems to have
> > problems to
> > > retrieve the registered window classes. I get always the class "-- Unknown --" 
>expect for the top window (desktop).
> > >
> > > Could some one explain me why this happen or if this is a known "feature" of 
>winedbg?
> > just because, as of today, windows classes are not stored in the server,
> > so a process can only access (read/write) its own classes, while windows
> > are shared in the server and we can read windows attributes from another
> > process
> > it's not a winedbg shortcoming, it's a user32 one
> 
> Okey that could be. But whats about tools like Spy++? They could also not retrieve 
>the window classes but in windows that will work.
> So I think there must be a way to retrieve the classes, or?
I didn't say windows API can't. I'm just saying current wine
implementation of user32 cannot (it can in some cases, but not in all of
them - hence the winedbg issue)

A+




Re: [Fwd: Registry problem]

2002-10-09 Thread steve . lustbader



>On Wed, Oct 09, 2002 at 01:55:00PM -0400, [EMAIL PROTECTED] wrote:
>>  > Reply and cut out what you don't need..
>> >  Posted from  Lotus Notes Build V60_M13_04032002
>> >
>> > Tom
>>
>> Sorry... You need to reply with ( Internet Style History )
>Aah ! If only I had known that this is indeed possible when I was forced
>to use Notes !
>Oh, and yes, Notes' email representation is CRAPPY.
>(not to mention that it has other bugs which are laughable)
>
>Thanks for this hint !
>

Unfortunately, they added this feature in V6, and v5 (which I'm stuck
with) has no such feature (I did the quoting by hand for this reply).







Documentation and tools

2002-10-09 Thread Steven Edwards

Hola,
I would like to do some work on documentation for cygwin, mingw and 
MS_VC but need the sgml docbook tools. I could reboot in to Linux to 
work on it but I would like to be able to be able to build/support the 
docs under cygwin and mingw. What and where are the tools I need to 
build wines dtd? I have tried to port the sgml-tools package but have 
had issues building it with cygwin so I am thinking I am missing 
something. Anyone care to help?

Thanks
Steven





Re: Registry problem

2002-10-09 Thread Joerg Mayer

On Wed, Oct 09, 2002 at 01:01:37PM -0400, [EMAIL PROTECTED] wrote:
> Unhandled exception: unimplemented function msvcrt.dll._i64toa called in 32-bit code 
>(0x40cb0052).

well, look at that:
~/work/wine/wine/dlls/ntdll> grep i64toa ../msvcrt/msvcrt.spec
@ stub _i64toa #(long str long)
@ stub _ui64toa #(long str long)
~/work/wine/wine/dlls/ntdll>

if you look at itoa (i64toa's 32 bit equivalent?) in that same file, you can
find them redirected to ntll and their actual implementation in ntdll/string.c
Looks like a trivial case of copy/paste/modify to me.

 Ciao
 Jörg

--
Joerg Mayer  <[EMAIL PROTECTED]>
I found out that "pro" means "instead of" (as in proconsul). Now I know
what proactive means.




wrong size under gnome

2002-10-09 Thread Medland, Bill

Any ideas before I spend lots of time?

Our application has a right mix of technologies involved.

This problem manifests itself with a container application hosting an OCX
generated from Visual Basic.  The container sizes itself as it loads the
ocx.

Under kde everything is fine; the dialog that is hosted is fully displayed.
However under Gnome it seems that the size of the whole window is too small
by the height of the window title bar, so that the bottom 18 pixels are
hidden.

any ideas?

Bill




Re: [Fwd: Registry problem]

2002-10-09 Thread Andreas Mohr

On Wed, Oct 09, 2002 at 01:55:00PM -0400, [EMAIL PROTECTED] wrote:
>  > Reply and cut out what you don't need.. 
> >  Posted from  Lotus Notes Build V60_M13_04032002 
> > 
> > Tom 
> 
> Sorry... You need to reply with ( Internet Style History )
Aah ! If only I had known that this is indeed possible when I was forced
to use Notes !
Oh, and yes, Notes' email representation is CRAPPY.
(not to mention that it has other bugs which are laughable)

Thanks for this hint !

-- 
The Declaration of Software Freedom:
http://freedevelopers.net/freedomdec/index.php




Re: Registry problem

2002-10-09 Thread Rein Klazes

On 09 Oct 2002 09:25:36 -0700, you wrote:

> [EMAIL PROTECTED] writes:
> 
> > When I try to run WinAmp, it exits immediately with that same error.
> > It doesn't run at all, unlike the installer, which runs but then ends
> > with the error (probably when it tries to run winamp itself).
> 
> Does this help?

[snip]

It does fix the sound problem that I had with Agent.

Rein.
-- 
Rein Klazes
[EMAIL PROTECTED]




Re: [Fwd: Registry problem]

2002-10-09 Thread twickline2

 
> Reply and cut out what you don't need.. 
>  Posted from  Lotus Notes Build V60_M13_04032002 
> 
> Tom 

Sorry... You need to reply with ( Internet Style History )
And cut out what you dont want/need...
Now ill go away :)

Tom

Registry problem

2002-10-09 Thread twickline2

-Steve

PS - Uwe, I'd love to be able to quote email correctly, but
I'm forced to use Lotus Notes at work, which doesn't seem to
know how to reply very well.  If anyone knows how to make
Notes behave like a normal mail client, let me know.


Reply and cut out what you don't need..
 Posted from  Lotus Notes Build V60_M13_04032002

Tom


Re: Registry problem

2002-10-09 Thread steve . lustbader

Yup, this patch solved the bad file descriptor problem, but
WinAmp gives me this output when I run it (with a backtrace):

Unhandled exception: unimplemented function msvcrt.dll._i64toa called in 32-bit code 
(0x40cb0052).
In 32-bit mode.
Symbol __strtol_internal is invalid
0x40cb0052 (__wine_unimplemented+0x52 [msvcrt.spec.c:47] in msvcrt.dll.so): jmp 
0x40cb004c (__wine_unimplemented+0x4c [msvcrt.spec.c:47] in msvcrt.dll.so)
50  void __wine_stub_msvcrt_dll_24(void) { 
__wine_unimplemented("??_7__non_rtti_object@@6B@"); }
Wine-dbg>bt
Backtrace:
=>0 0x40cb0052 (__wine_unimplemented+0x52(func=0x40cc6851) [msvcrt.spec.c:47] in 
msvcrt.dll.so) (ebp=406dfc5c)
  1 0x40cb0604 (__wine_stub_msvcrt_dll_275 [msvcrt.spec.c:102] in msvcrt.dll.so) 
(ebp=406dfc6c)
  2 0x10076730 (OUT_DS.DLL.winampGetOutModule+0x22a8 in C:\PROGRAM 
FILES\WINAMP\PLUGINS\OUT_DS.DLL) (ebp=406dfce8)
  3 0x100766a0 (OUT_DS.DLL.winampGetOutModule+0x2218 in C:\PROGRAM 
FILES\WINAMP\PLUGINS\OUT_DS.DLL) (ebp=406e0358)
  4 0x00418994 (winamp.exe..text+0x17994 in C:\Program Files\Winamp\winamp.exe) 
(ebp=403d46da)
  5 0x002e (ebp=0024)
*** Invalid address 0x0024

(I don't really need to use winamp, but it was an easy
example of the previous problem.)

-Steve

PS - Uwe, I'd love to be able to quote email correctly, but
I'm forced to use Lotus Notes at work, which doesn't seem to
know how to reply very well.  If anyone knows how to make
Notes behave like a normal mail client, let me know.




   
   

  Alexandre
   

  Julliard To:  Steve 
Lustbader/ANR/MS/PHILIPS@AMEC  
 

 
  .com> [EMAIL PROTECTED]  
   

  Sent by: Subject:   Re: Registry problem 
   

  julliard@winehq. 
   

  com  Classification: 
   

   
   

   
   

  10/09/2002 12:25 
   

  PM   
   

   
   

   
   





[EMAIL PROTECTED] writes:

> When I try to run WinAmp, it exits immediately with that same error.
> It doesn't run at all, unlike the installer, which runs but then ends
> with the error (probably when it tries to run winamp itself).

Does this help?

Index: dlls/winmm/wineoss/audio.c
===
RCS file: /opt/cvs-commit/wine/dlls/winmm/wineoss/audio.c,v
retrieving revision 1.62
diff -u -r1.62 audio.c
--- dlls/winmm/wineoss/audio.c 7 Oct 2002 18:23:40 -   1.62
+++ dlls/winmm/wineoss/audio.c 9 Oct 2002 16:23:52 -
@@ -245,7 +245,7 @@
 if ((fd = open(os

Re: Major tidy up of Scroll.c to add foundations for flatscroll bars

2002-10-09 Thread Alexandre Julliard

"Andrew M. Johnston" <[EMAIL PROTECTED]> writes:

> Ah, the second part indicates where additional confusion arose.  I thought 
> user.dll was one of the core dlls that could can never be native.  Are there 
> plans to use comctrl on native windows?

Yes, that can be useful for testing; and it will definitely be used on
platforms like ReactOS that don't have our user.dll.

-- 
Alexandre Julliard
[EMAIL PROTECTED]




Re: Registry problem

2002-10-09 Thread Alexandre Julliard

[EMAIL PROTECTED] writes:

> When I try to run WinAmp, it exits immediately with that same error.
> It doesn't run at all, unlike the installer, which runs but then ends
> with the error (probably when it tries to run winamp itself).

Does this help?

Index: dlls/winmm/wineoss/audio.c
===
RCS file: /opt/cvs-commit/wine/dlls/winmm/wineoss/audio.c,v
retrieving revision 1.62
diff -u -r1.62 audio.c
--- dlls/winmm/wineoss/audio.c  7 Oct 2002 18:23:40 -   1.62
+++ dlls/winmm/wineoss/audio.c  9 Oct 2002 16:23:52 -
@@ -245,7 +245,7 @@
 if ((fd = open(ossdev->dev_name, ossdev->open_access|O_NDELAY, 0)) == -1)
 {
 WARN("Couldn't open out %s (%s)\n", ossdev->dev_name, strerror(errno));
-return (errno == EBUSY) ? MMSYSERR_ALLOCATED : MMSYSERR_ERROR;
+return -1;
 }
 fcntl(fd, F_SETFD, 1); /* set close on exec flag */
 /* turn full duplex on if it has been requested */
@@ -373,7 +373,7 @@
 }
 TRACE("Changing fd from %d to ", ossdev->fd);
 close(ossdev->fd);
-OSS_RawOpenDevice(ossdev, &ossdev->audio_fragment);
+ossdev->fd = OSS_RawOpenDevice(ossdev, &ossdev->audio_fragment);
 TRACE("%d\n", ossdev->fd);
 return ossdev->fd;
 }

-- 
Alexandre Julliard
[EMAIL PROTECTED]




Re: Major tidy up of Scroll.c to add foundations for flatscroll bars

2002-10-09 Thread Dimitrie O. Paun

On October 9, 2002 06:19 am, Andrew M. Johnston wrote:

> Ah, the second part indicates where additional confusion arose.  I thought
> user.dll was one of the core dlls that could can never be native.  Are
> there plans to use comctrl on native windows?

Yes, Wine will not run Windows' USER.DLL, but being able to run native
comctrl on Wine, *and* run Wine's comctrl on Windows is important.

-- 
Dimi.





Re: Registry problem

2002-10-09 Thread Uwe Bonnes

> "steve" == steve lustbader <[EMAIL PROTECTED]> writes:

steve> I tried the cvs source from October 7, and the problem doesn't
steve> occur (although winamp does crash with an unimplemented MSVCRT
steve> function when I try to run it).

As workaround, use native mscvrt. It seems that the missing function has
been implemented in the meantime, otherwise tell what function is
unimplemented.


steve>   steve.lustbader+FromInterNet@ philips.com

And Steve, please quote in a sensible way, not by attaching everything in
the thread to the botton without appropriate quoting masks. Probably
deleting parts you don't relate to is a good idea too.

Bye

-- 
Uwe Bonnes[EMAIL PROTECTED]

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
- Tel. 06151 162516  Fax. 06151 164321 --




wine on sparc solaris

2002-10-09 Thread Juraj Hercek

Hi,

Since no one had similar problems as I did on sparc solaris (no reply to 
my previous email sent to wine-devel on /Wed Oct 02 2002 - 09:38:12 CDT/ 
). I started to debug it. First problem lies here:

$WINE_ROOT/dlls/ntdll/virtual.c:986

There is a condition that says:

(char *)base + size > (char *)ADDRESS_SPACE_LIMIT

If base+size is above address space limit, NtAllocateVirtualMemory 
fails. Problem is, that addresses returned by wine_anon_mmap function 
($WINE_ROOT/library/port.c:458) - which in turn calls system mmap - are 
far behind ADDRESS_SPACE_LIMIT (ADDRESS_SPACE_LIMIT=0xc000, 
definition in $WINE_ROOT/dlls/ntdll/virtual.c:110). Just to be precise, 
they are around 0xfe00 and higher.

I changed address space limit to -1, just to avoid this problem (I know, 
this is probably not the best solution, but I didn't find better one at 
the moment). After this change NtAllocateVirtualMemory passed.

When I run it again, I got stuck in setup_dos_mem() function 
($WINE_ROOT/msdos/dosmem.c:489) where is error saying:

"Cannot use first megabyte for DOS address space, please report."

After deeper insight I figured out that try_mmap_fixed() function failed 
($WINE_ROOT/library/port.c:431), because memory page we were trying to 
allocate was alredy mapped.

So, question is: Is there any way how to solve these two problems 
(address space limit, already mapped pages) correctly?

Thanks for reply.

Juraj





Re: Major tidy up of Scroll.c to add foundations for flatscroll bars

2002-10-09 Thread Andrew M. Johnston

On Wed, 9 Oct 2002 00:37, Alexandre Julliard wrote:
> The thing is we cannot pick any implementation we like, we have to do
> it the Windows way. So using messages internally is only acceptable in
> cases where Windows does it that way.

If the native comctl is used then some (but not all) of the drawing of the 
control is done but it ignores the flat scroll properties.  This may be due 
to using internal redraw paths rather than the correct ones.  I am in the 
process of investigating further. 

> The native flatsb code has to
> work on top of our scrollbars, and our flatsb implementation should
> work on Windows too.

Ah, the second part indicates where additional confusion arose.  I thought 
user.dll was one of the core dlls that could can never be native.  Are there 
plans to use comctrl on native windows?  Since I was assuming that user.dll 
could not be native and wine's native dlls would not be used on native user 
dll then it seemed reasonable to extended the user code to implement both 
types and make flatsb defer to this code.




Re: Registry problem

2002-10-09 Thread steve . lustbader

I tried the cvs source from October 7, and the problem doesn't occur
(although winamp does crash with an unimplemented MSVCRT function
when I try to run it).



   
   
 
  steve.lustbader+FromInterNet@
   
 
  philips.com   To:  Sylvain Petreolle 
<[EMAIL PROTECTED]>  
 
  Sent by:  cc:  
[EMAIL PROTECTED]  
   
  [EMAIL PROTECTED](bcc: Steve 
Lustbader/ANR/MS/PHILIPS)  
   
Subject:   Re: 
Registry problem   
 
   
   
 
  10/09/2002 10:42 AM   Classification:
   
 
   
   
 
   
   
 




I'm using the latest cvs source (I update every day).  I tried
using a native advapi32 (from WinXP, which is all I have access
to), but that just resulted in lots of other problems (unimplemented
functions in ntdll.dll, etc.

When I try to run WinAmp, it exits immediately with that same error.
It doesn't run at all, unlike the installer, which runs but then ends
with the error (probably when it tries to run winamp itself).

Is it possible that sound isn't set up properly on my system?  I don't
really need sound on it, so I haven't played around with it too much.
It's just the normal Redhat 7.2 install, with whatever sound settings
it picked.  I can listen to mp3's with xmms, though.

-Steve




  Sylvain
  PetreolleTo:  Steve 
Lustbader/ANR/MS/PHILIPS@AMEC
  cc:
   Subject:   Re: Registry problem
  10/09/2002 02:18
  AM   Classification:






What version of wine did you use ?
With CVS of Oct 08, I install without problem.

 --- [EMAIL PROTECTED] a écrit : > I started having a problem
with today's source that appears
> to be either registry or sound related.  When I tried to
> install Winamp (v 2.81 lite) in wine, I get this error:
>
> wine client error:8091280: sendmsg: Bad file descriptor
>
> Output from +reg,+relay ends with
>
> 08091280:Call
>
ntdll.NtQueryValueKey(0048,40124878,0002,406e2acc,0100,406e2ac0)
> ret=40977acc
> trace:reg:NtQueryValueKey (0x48,L"WaveMapper",2,0x406e2acc,256)
> wine client error:8091280: sendmsg: Bad file descriptor
>
> (the last 100 lines of the output can be seen at
> http://www.lustbader.net/winamp.txt)
>
> I tried getting rid of my ~/fake_c and ~/.wine directories
> and running wineinstall again, but that didn't help.
>
> -Steve
>
>

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com













Re: Listview

2002-10-09 Thread Dimitrie O. Paun

On October 9, 2002 05:00 am, Rein Klazes wrote:
> > Hm, I guess for that to work, the control must be LVS_OWNERDRAWFIXED,
> > in which case, it's the app that's failing. But since it works on
> > windows...
>
> It even works with wine and native comctl32...

Yeah, I though about it some more -- I think they are using custom draw,
but our is a bit broken now. Will fix. It's a minor nit, though.

> It is more difficult to explain then to see. I try another way:
>
> There are several listview controls in the main windowpane, you can
> select one using a tab control. This should make all the listviews
> exept the one that is at the front tab invisible. They are not: if one
> of the hidden listviews changes, the refresh is painted anyway.

It doesn't sound like a listview problem. More like somethig for
Alexandre to look at .

> - in the left pane you should be able to drag and drop the subscribed
> news groups to re-order them. That does not work.

I haven't looked at all at drag and drop. Not at the top of my TODO list.

> - mouse wheel does not work. It doesn't work with native comctl32
> either, it may not be listview related at all.

Think so to, there is support for it in the code, IIRC.

-- 
Dimi.





Re: Registry problem

2002-10-09 Thread steve . lustbader

I'm using the latest cvs source (I update every day).  I tried
using a native advapi32 (from WinXP, which is all I have access
to), but that just resulted in lots of other problems (unimplemented
functions in ntdll.dll, etc.

When I try to run WinAmp, it exits immediately with that same error.
It doesn't run at all, unlike the installer, which runs but then ends
with the error (probably when it tries to run winamp itself).

Is it possible that sound isn't set up properly on my system?  I don't
really need sound on it, so I haven't played around with it too much.
It's just the normal Redhat 7.2 install, with whatever sound settings
it picked.  I can listen to mp3's with xmms, though.

-Steve



   
   

  Sylvain  
   

  PetreolleTo:  Steve 
Lustbader/ANR/MS/PHILIPS@AMEC  
 
  cc: 
   

   Subject:   Re: Registry problem 
   

  10/09/2002 02:18 
   

  AM   Classification: 
   

   
   

   
   





What version of wine did you use ?
With CVS of Oct 08, I install without problem.

 --- [EMAIL PROTECTED] a écrit : > I started having a problem
with today's source that appears
> to be either registry or sound related.  When I tried to
> install Winamp (v 2.81 lite) in wine, I get this error:
>
> wine client error:8091280: sendmsg: Bad file descriptor
>
> Output from +reg,+relay ends with
>
> 08091280:Call
>
ntdll.NtQueryValueKey(0048,40124878,0002,406e2acc,0100,406e2ac0)
> ret=40977acc
> trace:reg:NtQueryValueKey (0x48,L"WaveMapper",2,0x406e2acc,256)
> wine client error:8091280: sendmsg: Bad file descriptor
>
> (the last 100 lines of the output can be seen at
> http://www.lustbader.net/winamp.txt)
>
> I tried getting rid of my ~/fake_c and ~/.wine directories
> and running wineinstall again, but that didn't help.
>
> -Steve
>
>

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com








keyboard errors

2002-10-09 Thread Rizsanyi Zsolt

Hi!

When running MS Word 97 I get the next error messages when I try to write some of the 
Hungarian characters.
So I'm reporting it as requested in the message :)

err:keyboard:X11DRV_ToUnicode Please report: no char for keysym 01F5 (odoubleacute) :
err:keyboard:X11DRV_ToUnicode (virtKey=DB,scanCode=1A,keycode=22,state=10)
err:keyboard:X11DRV_ToUnicode Please report: no char for keysym 01FB (udoubleacute) :
err:keyboard:X11DRV_ToUnicode (virtKey=DC,scanCode=2B,keycode=33,state=10)

Is it trivial to fix, or there are some problems with it? I would like if that could 
work... I'm also willing to code it if that is needed :)

Regards
Zsolt




Load .so error

2002-10-09 Thread Fabian Cenedese

Hi

I already managed to load a .so recently but I can't get it to work on my
new PC. The Windows dll was MyDll.dll which I turned now into a .so.
ELF_LoadLibraryExA is looking for a libMyDll.so but returns with error=2.
I couldn't find out what this error means. I have my .so with same spelling
and case in various places (local to exe, windows\system, /usr/lib,
/usr/local/lib) but nothing helped. I take it that this is a Linux problem and
not from wine. Maybe something with rights?

Thanks

bye  Fabi








Re: Listview

2002-10-09 Thread Rein Klazes

On Tue, 8 Oct 2002 21:52:44 -0400, you wrote:

> On October 8, 2002 08:46 am, Rein Klazes wrote:
> > I am trying out newsbin. There was a request ("wine ui control
> > hacker?") two months ago on this list to work on this. The program can
> > be downloaded from www.newsbin.com and used for a short trial period.
> > The makers have expressed that the would be willing to donate a
> > license for tyhe purpose to get their program work under wine.
> 
> Can you get me one? I'd like to have another app to test with.

I haven't had contact with them yet (the offer is on their web forum),
but I will ask. In the mean time you can use the program, it is fully
functional for 8 days. Install works fine under wine. Runs fine with
all builtin dlls + native comctl32.

> 
> > - new messages should be highlighted using a green background: that
> > doesn't work
> 
> Hm, I guess for that to work, the control must be LVS_OWNERDRAWFIXED,
> in which case, it's the app that's failing. But since it works on 
> windows...

It even works with wine and native comctl32...

> > Perhaps not a listview bug but:
> >
> > - there are several listviews for messages, messages selected for
> > download, downloaded messages amd failed messages. With tabs these can
> > be veiwed. If one listview is updated it updates regardless of the
> > selected tab.
> 
> Not sure I follow this one...

It is more difficult to explain then to see. I try another way:

There are several listview controls in the main windowpane, you can
select one using a tab control. This should make all the listviews
exept the one that is at the front tab invisible. They are not: if one
of the hidden listviews changes, the refresh is painted anyway.

> 
> Thanks for the info! Bug reports are always welcomed.

Two more things:

- in the left pane you should be able to drag and drop the subscribed
news groups to re-order them. That does not work.

- mouse wheel does not work. It doesn't work with native comctl32
either, it may not be listview related at all.

Rein.
-- 
Rein Klazes
[EMAIL PROTECTED]




Re: LoadLibrary during PROCESS_ATTACH

2002-10-09 Thread Uwe Bonnes

> "Alexandre" == Alexandre Julliard <[EMAIL PROTECTED]> writes:

Alexandre> Uwe Bonnes <[EMAIL PROTECTED]> writes:
>> This seems to happen, because during MODULE_InitDLL of the dll it
>> calls a Loadlibrary on itself. As MODULE_InitDLL sets
>> WINE_MODREF_MARKER, and the flow of execution in LoadLibrary checks
>> for WINE_MODREF_MARKER before incrementing the RefCount, the refcount
>> gets wrong and the application unloaded. Forcing the increment of
>> RefCount in MODULE_LoadLibraryExA unconditional of WINE_MODREF_MARKER
>> makes the application continue.
>> 
>> Do we need the check for WINE_MODREF_MARKER in MODULE_LoadLibraryEx?

Alexandre> Yes, this is needed for circular dependencies. But maybe we
Alexandre> need to differentiate an explicit LoadLibrary from the
Alexandre> implicit loading of dependencies.

Is appended patch appropriate? 

If it finds WINE_MODREF_MARKER set in LoadLibraryEx, it corrects the
Refcount and it allows decrementing the Refcounter to 1 (but not to 0) in
MODULE_DecRefCount. At least xilinx webpack ise.exe now comes over thw first
hurdle.

Changelog:
wine/loader/module.c: LoadLibraryExA, MODULE_DecRefCount 
Handle Refcounting for LoadLibrary/FreeLibrary Calls 
during MODULE_DllProcessAttach
-- 
Uwe Bonnes[EMAIL PROTECTED]

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
- Tel. 06151 162516  Fax. 06151 164321 --
Index: wine/loader/module.c
===
RCS file: /home/wine/wine/loader/module.c,v
retrieving revision 1.165
diff -u -w -r1.165 module.c
--- wine/loader/module.c24 Sep 2002 18:29:39 -  1.165
+++ wine/loader/module.c9 Oct 2002 08:18:19 -
@@ -1134,6 +1134,10 @@
SetLastError(ERROR_DLL_INIT_FAILED);
wm = NULL;
}
+   if(wm->flags & WINE_MODREF_MARKER)
+ /* Loadlibrary was called during MODULE_DllProcessAttach
+We need to correct the refcount */
+ wm->refCount++;
}
 
 RtlLeaveCriticalSection( &loader_section );
@@ -1470,7 +1474,9 @@
 {
 int i;
 
-if ( wm->flags & WINE_MODREF_MARKER )
+if (( wm->flags & WINE_MODREF_MARKER ) && (wm->refCount <2))
+  /* Inhibit unloading during MODULE_DllProcessAttach but expect a FreeLibrary 
+call
+during MODULE_DllProcessAttach */
 return;
 
 if ( wm->refCount <= 0 )




AW: winedbg - walk wnd broken?

2002-10-09 Thread Roger Eisenecher

> > I am using winedbg with the commands "walk wnd" or "info wnd ". But 
>unfortunately both functions seems to have
> problems to
> > retrieve the registered window classes. I get always the class "-- Unknown --" 
>expect for the top window (desktop).
> >
> > Could some one explain me why this happen or if this is a known "feature" of 
>winedbg?
> just because, as of today, windows classes are not stored in the server,
> so a process can only access (read/write) its own classes, while windows
> are shared in the server and we can read windows attributes from another
> process
> it's not a winedbg shortcoming, it's a user32 one

Okey that could be. But whats about tools like Spy++? They could also not retrieve the 
window classes but in windows that will work.
So I think there must be a way to retrieve the classes, or?

regards roger