[Bug 50916] New: Multiple applications need DHTMLEdit to support 'IOleControl' '{B196B288-BAB4-101A-B69C-00AA00341D07}' (Atomic Mail Sender 4.x)

WineHQ Bugzilla wine-bugs at winehq.org
Sat Apr 3 04:45:02 CDT 2021


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

            Bug ID: 50916
           Summary: Multiple applications need DHTMLEdit to support
                    'IOleControl' '{B196B288-BAB4-101A-B69C-00AA00341D07}'
                    (Atomic Mail Sender 4.x)
           Product: Wine
           Version: 6.5
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mshtml
          Assignee: wine-bugs at winehq.org
          Reporter: focht at gmx.net
      Distribution: ---

Hello folks,

continuation of bug 50697 ("Multiple applications crash due to DHTMLEdit
'IOleObject::GetExtent' stub (Atomic Mail Sender 4.2x)")

Relevant part of trace log:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files (x86)/AtomPark/Atomic Mail Sender

$ WINEDEBUG=+seh,+relay,+dhtmled wine ./AtomicMailSender.exe >>log.txt 2>&1
...
0104:trace:dhtmled:OleObject_GetClientSite (0029FC68)->(0021FB10)
0104:Call combase.CreateStreamOnHGlobal(0029fe2a,00000000,0021fb14)
ret=004a0e3d
...
0104:Ret  combase.CreateStreamOnHGlobal() retval=00000000 ret=004a0e3d
0104:fixme:dhtmled:PersistStreamInit_Load (0029FC68)->(002AC658) stub
...
0104:trace:dhtmled:dhtml_edit_qi
(0029FC68)->({b196b288-bab4-101a-b69c-00aa00341d07}, 018D7C24)
0104:err:dhtmled:dhtml_edit_qi no interface for
{b196b288-bab4-101a-b69c-00aa00341d07}
0104:Call KERNEL32.GetLastError() ret=01651fcf
0104:Ret  KERNEL32.GetLastError() retval=00000583 ret=01651fcf
...
0104:Call
KERNEL32.FormatMessageA(00003200,00000000,80004002,00000000,0021f988,00000100,00000000)
ret=0040e808
..
0104:Ret  KERNEL32.FormatMessageA() retval=00000000 ret=0040e808
...
0104:trace:seh:dispatch_exception code=eedfade flags=1 addr=7B0101E8
ip=7b0101e8 tid=0104
0104:trace:seh:dispatch_exception  info[0]=0049d671
0104:trace:seh:dispatch_exception  info[1]=018e62b8
0104:trace:seh:dispatch_exception  info[2]=80004002
0104:trace:seh:dispatch_exception  info[3]=0021fb50
0104:trace:seh:dispatch_exception  info[4]=005c8bf4
0104:trace:seh:dispatch_exception  info[5]=0021fb1c
0104:trace:seh:dispatch_exception  info[6]=0021fadc
0104:warn:seh:dispatch_exception unknown exception (code=eedfade) raised 
...
0104:Call user32.MessageBoxA(00010096,018e5300 "OLE error 80004002.",019015a0
"Atomic Mail Sender",00000010) ret=00498c0f 
--- snip ---

Wine source:

https://source.winehq.org/git/wine.git/blob/2fcc1d0ecdebc55a5f515b1390ce715303f6a6ad:/dlls/dhtmled.ocx/edit.c#l62

Interestingly, the original patchset for adding DHTMLEdit (~3 years ago)
already contained support for IOleControl but it was dropped later. Apparently
only 'RSSeditor' was used for testing needed DHTMLEdit functionality.

Bug 29709 ("Multiple applications crash due to missing 'dhtmled.ocx', DHTMLEdit
object (Atomic Mail Sender 4.25, RSSeditor 0.9.54, High Impact eMail 5)").

https://www.winehq.org/pipermail/wine-devel/2018-February/122433.html

--- quote ---
> Hi Alex,
>
> On 12/05/2017 09:10 AM, Alex Henrie wrote:
>>  typedef struct
>>  {
>>      IDHTMLEdit IDHTMLEdit_iface;
>> +    IQuickActivate IQuickActivate_iface;
>
>
> What version did you test it with? As far as I can see, native doesn't
> implement this interface.

Thanks for catching that. You're right: The DHTMLEdit class does not
implement IQuickActivate. I was confused because RSSEdit queries for
this interface.

After more testing, I realized that we actually only need to add
IOleObject and IPersistStreamInit to get RSSEdit's GUI to appear.
Native DHTMLEdit implements IViewObject, IOleControl, and
IConnectionPointContainer too, but they do not appear to be necessary
for basic functionality.
--- quote ---

Atomic Mail Sender 4.x:

https://web.archive.org/web/20210204200155/http://www.massmailsoftware.com/d/files/AtomicMailSender_425_setup.exe

$ sha1sum AtomicMailSender_425_setup.exe 
cba0226b5bfba9b793f3b40bd732ef64ef23e844  AtomicMailSender_425_setup.exe

$ du -sh AtomicMailSender_425_setup.exe 
5.4M    AtomicMailSender_425_setup.exe

$ wine --version
wine-6.5-130-g97b420224e7

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