[Bug 35821] New: wPrime 2.09 (VB6 app) reports 'Run-time error 445: Object doesn't support this action' (needs ITextStream ReadLine method implementation)

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Mar 19 16:52:19 CDT 2014


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

            Bug ID: 35821
           Summary: wPrime 2.09 (VB6 app) reports 'Run-time error 445:
                    Object doesn't support this action' (needs ITextStream
                    ReadLine method implementation)
           Product: Wine
           Version: 1.7.14
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: scrrun
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net

Hello folks,

as the summary says ...

Prerequisite: 'winetricks -q vb6run'

--- snip ---
$ WINEDEBUG=+tid,+seh,+relay,+msi,+scrrun,+vbscript wine ./wPrime.exe >>log.txt
2>&1
...
0041:trace:scrrun:filesys_OpenTextFile (0x7e274450)->(L"wprime.exe" 1 0 0
0x33f808)
0041:Call ntdll.RtlAllocateHeap(00110000,00000000,00000028) ret=7e256408
0041:Ret  ntdll.RtlAllocateHeap() retval=00148be0 ret=7e256408
0041:Call KERNEL32.CreateFileW(004058dc
L"wprime.exe",80000000,00000000,00000000,00000003,00000080,00000000)
ret=7e257c80
0041:Ret  KERNEL32.CreateFileW() retval=000000a4 ret=7e257c80
0041:Call KERNEL32.GetFileSizeEx(000000a4,00148bf8) ret=7e257cd9
0041:Ret  KERNEL32.GetFileSizeEx() retval=00000001 ret=7e257cd9
0041:trace:scrrun:textstream_QueryInterface
(0x148be0)->({53bad8c1-e718-11cf-893d-00a0c9054228} 0x33f6e8)
0041:trace:scrrun:textstream_AddRef (0x148be0)->(2)
0041:trace:scrrun:textstream_Release (0x148be0)->(1)
0041:trace:scrrun:textstream_get_AtEndOfStream (0x148be0)->(0x33f7b4)
0041:Call
KERNEL32.SetFilePointerEx(000000a4,00000000,00000000,0033f6b8,00000001)
ret=7e257217
0041:Ret  KERNEL32.SetFilePointerEx() retval=00000001 ret=7e257217
0041:fixme:scrrun:textstream_ReadLine (0x148be0)->(0x33f814): stub
0041:trace:scrrun:textstream_AddRef (0x148be0)->(2)
0041:trace:scrrun:textstream_QueryInterface
(0x148be0)->({df0b3d60-548f-101b-8e65-08002b2bd119} 0x33f698)
0041:trace:scrrun:textstream_Release (0x148be0)->(1)
...
0041:Call KERNEL32.RaiseException(c000008f,00000001,00000002,0033f678)
ret=660d0956
0041:trace:seh:raise_exception code=c000008f flags=1 addr=0x7b83ab23
ip=7b83ab23 tid=0041
0041:trace:seh:raise_exception  info[0]=deadcafe
0041:trace:seh:raise_exception  info[1]=deadcafe
0041:trace:seh:raise_exception  eax=7b826b89 ebx=7b8bb000 ecx=deadcafe
edx=0033f5d4 esi=0033f678 edi=0033f640
0041:trace:seh:raise_exception  ebp=0033f618 esp=0033f5b4 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000283
0041:trace:seh:call_stack_handlers calling handler at 0x401b66 code=c000008f
flags=1 
...
0041:Call KERNEL32.WideCharToMultiByte(00000000,00000000,0014a644 L"Run-time
error '445':\n\nObject doesn't support this
action",ffffffff,00bbf0f8,00000072,00000000,00000000) ret=660711c4 
--- snip ---

Source:
http://source.winehq.org/git/wine.git/blob/038438ad696fc936a6bae5669bc0f35d7dbb7fa0:/dlls/scrrun/filesystem.c#l374

--- snip ---
374 static HRESULT WINAPI textstream_ReadLine(ITextStream *iface, BSTR *text)
375 {
376     struct textstream *This = impl_from_ITextStream(iface);
377     FIXME("(%p)->(%p): stub\n", This, text);
378
379     if (textstream_check_iomode(This, IORead))
380         return CTL_E_BADFILEMODE;
381
382     return E_NOTIMPL;
383 }
--- snip ---

$ sha1sum wPrime.exe 
68fe810b959eec35e875994f14f6356aca5cc19d  wPrime.exe

$ du -sh wPrime.exe 
2.6M    wPrime.exe

$ wine --version
wine-1.7.14-185-g5cf20ce

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