WineHQ
Bug Tracking Database – Bug 35635

 Bugzilla

 

Last modified: 2014-03-07 14:13:19 UTC  

VMXBuider 0.8 (VB6 app) fails to create new VM, reporting "Run-time error '445'" - filesys_get_Drives

Bug 35635 - VMXBuider 0.8 (VB6 app) fails to create new VM, reporting "Run-time error '445'" - filesys_get_Drives
VMXBuider 0.8 (VB6 app) fails to create new VM, reporting "Run-time error '44...
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: scrrun
1.7.13
x86 Linux
: P2 normal
: ---
Assigned To: Mr. Bugs
http://uni-smr.ac.ru/archive/vm/VMWar...
: download
Depends on: 8539
Blocks:
  Show dependency tree
 
Reported: 2014-02-21 07:29 UTC by Nikolay Sivov
Modified: 2014-03-07 14:13 UTC (History)
1 user (show)

See Also:
Regression SHA1:
Fixed by SHA1: 17c4c1bef53544e756dd8dc7ad93402749d5cf54
Distribution: ---
Staged patchset:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay Sivov 2014-02-21 07:29:23 UTC
With problem described in bug 8539 fixed, next one is missing IDriveCollection support:

---
fixme:scrrun:filesys_QueryInterface Unsupported interface {7fd52380-4e07-101b-ae2d-08002b2ec713}
fixme:scrrun:filesys_QueryInterface Unsupported interface {37d84f60-42cb-11ce-8135-00aa004bb851}
fixme:scrrun:filesys_get_Drives 0x7d510ef4 0x33f260
fixme:scrrun:filesys_QueryInterface Unsupported interface {df0b3d60-548f-101b-8e65-08002b2bd119}
---
Comment 1 Nikolay Sivov 2014-02-21 08:22:27 UTC
I'm working on this.
Comment 2 Anastasius Focht 2014-02-24 16:15:29 UTC
Hello folks,

with bug 8539 fixed, it now needs Next() for drive collection.

--- snip ---
$ WINEDEBUG=+tid,+seh,+relay,+ole,+variant,+scrrun wine ./VMXBuilder.exe >>log.txt 2>&1
...
0024:trace:ole:ITypeInfo_fnInvoke invoking:
L"_NewEnum"(1)
	parm0: L"ppenum"
memid is fffffffc
Param 0:
		tdesc.vartype 26 (ptr to VT_UNKNOWN)
		u.paramdesc.wParamFlags PARAMFLAG_FOUT PARAMFLAG_FRETVAL
		u.paramdesc.lpex (nil)
	funckind: 1 (pure virtual)
	invkind: 2 (property get)
	callconv: 4 (stdcall)
	oVft: 32
	cParamsOpt: 0
	wFlags: 41
	elemdescFunc (return value type):
		tdesc.vartype 25 (VT_HRESULT)
		u.paramdesc.wParamFlags PARAMFLAGS_NONE
		u.paramdesc.lpex (nil)
	helpstring: (null)
	entry: invalid 
...
0024:trace:ole:ITypeInfo_fnInvoke changing args
0024:trace:ole:DispCallFunc (0x1acd818, 32, 4, 10, 1, 0x1b82cb4, 0x1b82cb0, 0x33ed50 (vt=10))
...
0024:trace:ole:DispCallFunc arg 0: type 16397
0024:trace:ole:dump_Variant 0x1b82c90->{VT_UNKNOWN|VT_BYREF,0x33ed40}
0024:trace:scrrun:drivecoll_get__NewEnum (0x1acd818)->(0x33ed40)
..
0024:trace:scrrun:drivecoll_AddRef (0x1acd818)->(2)
...
0024:trace:ole:DispCallFunc retval: 0x33ed50->{VT_ERROR}
0024:trace:ole:ITypeInfo_fnInvoke [retval] value: 0x1b82c90->{VT_UNKNOWN|VT_BYREF,0x33ed40}
0024:trace:variant:VariantInit (0x33f118)
0024:trace:variant:VariantCopyInd (0x33f118->(VT_EMPTY),0x1b82c90->(VT_UNKNOWN|VT_BYREF))
0024:trace:variant:VariantClear (0x33f118->(VT_EMPTY))
0024:trace:scrrun:enumvariant_AddRef (0x1b82ce0)->(2)
0024:trace:variant:VariantCopyInd returning 0x00000000, 0x33f118->(VT_UNKNOWN)
0024:trace:variant:VARIANT_ClearInd (0x1b82c90->(VT_UNKNOWN|VT_BYREF))
0024:trace:scrrun:drivecoll_enumvariant_Release (0x1b82ce0)->(1)
0024:trace:variant:VariantClear (0x1b82ca0->(VT_EMPTY))
...
0024:trace:ole:ITypeInfo_fnInvoke -- 0x00000000
0024:trace:ole:ITypeInfo_fnRelease (0x1b7f5a8)->(0)
0024:trace:ole:ITypeLib2_fnRelease (0x1b77ec8) ref=1
0024:trace:scrrun:enumvariant_QueryInterface (0x1b82ce0)->({00020404-0000-0000-c000-000000000046} 0x33f1c0)
0024:trace:scrrun:enumvariant_AddRef (0x1b82ce0)->(2)
0024:trace:scrrun:drivecoll_enumvariant_Release (0x1b82ce0)->(1)
0024:fixme:scrrun:drivecoll_enumvariant_Next (0x1b82ce0)->(1 0x33f15c (nil)): stub
0024:trace:scrrun:enumvariant_QueryInterface (0x1b82ce0)->({df0b3d60-548f-101b-8e65-08002b2bd119} 0x33f0fc)
0024:trace:scrrun:drivecoll_enumvariant_Release (0x1b82ce0)->(0)
0024:trace:scrrun:drivecoll_Release (0x1acd818)->(1)
...
0024:Call KERNEL32.RaiseException(c000008f,00000001,00000002,0033f090) ret=660d0956
0024:trace:seh:raise_exception code=c000008f flags=1 addr=0x7b83a97b ip=7b83a97b tid=0024
0024:trace:seh:raise_exception  info[0]=deadcafe
0024:trace:seh:raise_exception  info[1]=deadcafe
0024:trace:seh:raise_exception  eax=7b8269e1 ebx=7b8bb000 ecx=deadcafe edx=0033efe4 esi=0033f090 edi=0033f050
0024:trace:seh:raise_exception  ebp=0033f028 esp=0033efc4 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00200283 
...
0024:Call KERNEL32.WideCharToMultiByte(00000000,00000000,01b77b3c L"Run-time error '445':\n\nObject doesn't support this action",ffffffff,00a59f50,00000072,00000000,00000000) ret=660711c4 
--- snip ---

$ wine --version
wine-1.7.13-53-g37e0a1a

Regards
Comment 3 Nikolay Sivov 2014-02-24 21:58:40 UTC
Yeah, all it needs is Next() and DriveType() property of IDrive after that, I have patches for both.
Comment 4 Nikolay Sivov 2014-02-25 19:04:08 UTC
This should work now.
Comment 5 Alexandre Julliard 2014-03-07 14:13:19 UTC
Closing bugs fixed in 1.7.14.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers