[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: help running topo
From:       Huw D M Davies <h.davies1 () physics ! ox ! ac ! uk>
Date:       1999-07-29 17:50:28
[Download RAW message or body]

On Thu, Jul 29, 1999 at 04:21:17PM +0200, Ulrich Weigand wrote:
> 
> John Richardson <jrichard@zealand.mv.com> wrote:
> 
> > The heart of the error seems to be in 16 bit code.  Even 32 bit code debugging
> > eludes
> > me a bit, so can someone point me in the right direction?  I'm not an expert in
> > x86 assembly
> > but I don't see why a movw instruction would be priviliged in 16 bit mode.
> [snip]
> > Call COMMDLG.20: PRINTDLG(0x02a7647a) ret=029f:7480 ds=02a7
> > Ret  COMMDLG.20: PRINTDLG() retval=0x0001 ret=029f:7480 ds=02a7
> > Unhandled exception: priviledged instruction in 16-bit code (026f:489c).
> [snip]
> >  CS:026f SS:02a7 DS:02a7 ES:0000 FS:0000 GS:0000
> >  AX:02a7 BX:0000 CX:0000 DX:02a7 SI:0628 DI:0bc8
> [snip]
> > 0x026f:0x4899: lesw     0xffffff8a(%bp),%bx
> > 0x026f:0x489c: movw     %es:0x2c(%bx),%ax
 
> So, you should run with -debugmsg +commdlg,  and if the PD_RETURNDEFAULT
> flag should indeed be set, you might try writing (dummy) values to the
> appropriate structure elements, and see whether that helps ...

Or if you don't fancy debugging it, try using a native commdlg with
-dll commdlg,comdlg32=n

Huw.
-- 
   Dr. Huw D M Davies              | Clarendon Laboratory
   h.davies1@physics.ox.ac.uk      | Parks Road
   Tel: +44 1865 272390            | Oxford OX1 3PU
   Fax: +44 1865 272400            | UK


=========================================================================

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic