[Bug 37502] Naturosoft Pro fails on startup with 'Run-time error 445: Object doesn't support this action' (needs richedit:ITextRange_fnExpand method implementation)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Nov 4 02:06:29 CST 2014


https://bugs.winehq.org/show_bug.cgi?id=37502

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
            Version|unspecified                 |1.4.1
                URL|                            |http://naturosoft.free.fr/d
                   |                            |ownload/demo/NatDemoSetup.e
                   |                            |xe
           Keywords|                            |download
          Component|-unknown                    |richedit
                 CC|                            |focht at gmx.net
     Ever confirmed|0                           |1
            Summary|Error 445                   |Naturosoft Pro fails on
                   |                            |startup with 'Run-time
                   |                            |error 445: Object doesn't
                   |                            |support this action' (needs
                   |                            |richedit:ITextRange_fnExpan
                   |                            |d method implementation)

--- Comment #4 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

confirming.

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/NaturoSoft

$ WINEDEBUG=+tid,+seh,+relay,+ole,+variant wine ./Naturo.exe >>log.txt 2>&1
...
0023:Call
oleaut32.DispCallFunc(06fae090,000008d4,00000004,0000000a,00000001,07d90868,07d90860,0033e43c)
ret=660d6a6f
0023:trace:ole:DispCallFunc (0x6fae090, 2260, 4, 10, 1, 0x7d90868, 0x7d90860,
0x33e43c (vt=0))
...
0023:trace:ole:DispCallFunc arg 0: type VT_BSTR 0x33e670 {VT_BSTR:
L"{\\rtf1\\ansi\\deff0\\deftab720{\\fonttbl{\\f0\\fswiss MS Sans
Serif;}{\\f1\\froman\\fcharset2 Symbol;}{\\f2\\froman\\fprq2 Times New
Roman;}{\\f3\\fswiss\\fprq2 Arial;}{\\f4\\fs
...
0023:fixme:richedit:ITextRange_fnExpand not implemented 0x7c234e0 
...
0023:Call KERNEL32.RaiseException(c000008f,00000001,00000002,0033d8d8)
ret=660d0956
0023:trace:seh:raise_exception code=c000008f flags=1 addr=0x7b83af77
ip=7b83af77 tid=0023
0023:trace:seh:raise_exception  info[0]=deadcafe
0023:trace:seh:raise_exception  info[1]=deadcafe
0023:trace:seh:raise_exception  eax=7b826e55 ebx=7b8be000 ecx=deadcafe
edx=0033d83c esi=0033d8d8 edi=0033d8a0
0023:trace:seh:raise_exception  ebp=0033d878 esp=0033d814 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00200283
0023:trace:seh:call_stack_handlers calling handler at 0x41602ab6 code=c000008f
flags=1 
...
0023:trace:ole:DispCallFunc retval: 0x33e43c {VT_ERROR: 800a01bd}
0023:Ret  oleaut32.DispCallFunc() retval=00000000 ret=660d6a6f
...
0023:trace:ole:IErrorInfoImpl_GetSource (0x21a868)->(pBstrSource=0x33e5ec)
0023:Call oleaut32.SysAllocString(00180fc8 L"NatRich") ret=7e9bbb4e
0023:trace:ole:IErrorInfoImpl_GetDescription
(0x21a868)->(pBstrDescription=0x33e5f0)
0023:Call oleaut32.SysAllocString(0021a8a0 L"Object doesn't support this
action") ret=7e9bbc07
...
0023:Call user32.MessageBoxIndirectA(0033de28) ret=6606f73f 
...
0023:Call winex11.drv.SetWindowText(000100ee,06fefb20 L"Run-time error
'445':\n\nObject doesn't support this action") ret=7ecd3761 
...
--- snip ---

Source:
http://source.winehq.org/git/wine.git/blob/a9491ec5d9f703e9a60e9effa4072d4d6908a2e6:/dlls/riched20/richole.c#l791

--- snip ---
791 static HRESULT WINAPI ITextRange_fnExpand(ITextRange *me, LONG Unit, LONG
*pDelta)
792 {
793     ITextRangeImpl *This = impl_from_ITextRange(me);
794     if (!This->reOle)
795         return CO_E_RELEASED;
796
797     FIXME("not implemented %p\n", This);
798     return E_NOTIMPL;
799 }
--- snip ---

'winetricks -q riched20' obviously works around.

BTW ... not that it matters/helps in this specific case but your Wine version
is seriously outdated (EOL).
Consider updating to at least to stable Wine 1.6.2 or better 1.7.x series.

$ sha1sum NatDemoSetup.exe 
38bb682db1938405d354be42b9341516bb610fb0  NatDemoSetup.exe

$ du -sh NatDemoSetup.exe 
31M    NatDemoSetup.exe

$ wine --version
wine-1.7.30-23-gf5e3281

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list