[Bug 30212] Multiple apps need Scripting.Dictionary 'Add' method stub implementation (AutoIt 3, Polymath)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Mar 8 07:03:52 CST 2014


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |download
                URL|                            |http://www.autoitscript.com
                   |                            |/cgi-bin/getfile.pl?autoit3
                   |                            |/autoit-v3-setup.exe
                 CC|                            |focht at gmx.net
          Component|-unknown                    |scrrun
            Summary|Multiple apps need          |Multiple apps need
                   |Scripting.Dictionary        |Scripting.Dictionary 'Add'
                   |implementation (Microsoft   |method stub implementation
                   |Scripting Runtime)          |(AutoIt 3, Polymath)

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

'meta' bugs should be avoided.

There are already bugs covering specific 'Scripting.Dictionary' method stubs:

bug 30715 -> DVDFlick 1.3.x fails on startup with "automation error" (needs
Scripting.Dictionary "Exists" method implementation) 

bug 32476 -> DVDFlick 1.3.x fails on startup with "automation error" (needs
Scripting.Dictionary "get_Item" method implementation) 

Example for testing:

--- snip ---
cat test.au3 

$Loc = ObjCreate('Scripting.Dictionary')
$Loc.Add('test',5)
MsgBox(1,'Alert.',$Loc.Item('test'))
$Loc.Item('test') = 33
MsgBox(1,'Alert.',$Loc.Item('test'))
--- snip ---

Trace log:

--- snip ---
$ wine ./AutoIt3.exe test.au3 
fixme:ver:GetCurrentPackageId (0x8ef67c (nil)): stub
fixme:scrrun:dictionary_Add (0x17e5b8)->(0x193048 0x193058)
fixme:scrrun:dictionary_get_Item (0x17e5b8)->(0x1930d0 0x8eefc0)
fixme:scrrun:dictionary_put_Item (0x17e5b8)->(0x17e7c0 0x17e7d0)
fixme:scrrun:dictionary_get_Item (0x17e5b8)->(0x194988 0x8eefc0)
fixme:win:LockWindowUpdate ((nil)), partial stub!
--- snip ---

Selecting Scripting.Dictionary 'Add' method implementation for this bug.
Refining summary.

Source:
http://source.winehq.org/git/wine.git/blob/5908cda9a514f865fff62a351d6337934b0b52f4:/dlls/scrrun/dictionary.c#l189

--- snip ---
189 static HRESULT WINAPI dictionary_Add(IDictionary *iface, VARIANT *Key,
VARIANT *Item)
190 {
191     dictionary *This = impl_from_IDictionary(iface);
192
193     FIXME("(%p)->(%p %p)\n", This, Key, Item);
194
195     return E_NOTIMPL;
196 }
--- snip ---

$ sha1sum autoit-v3-setup.exe 
1d847b1f8f089c66ce26df2aba2bffbfea109f54  autoit-v3-setup.exe

$ du -sh autoit-v3-setup.exe 
11M    autoit-v3-setup.exe

$ wine --version
wine-1.7.14

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