http://bugs.winehq.org/show_bug.cgi?id=12672
Summary: Unimplemented function mshtml.dll.PrintHTML Product: Wine Version: 0.9.60 Platform: PC URL: http://teach2000.memtrain.com OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: teach2000@basement.nl
Created an attachment (id=12332) --> (http://bugs.winehq.org/attachment.cgi?id=12332) Error log
Download Teach2000 from http://teach2000.memtrain.com Install the program (language English) Start Teach2000 Choose in the menu [File][Open] Browse to C:\Program Files\Teach2000\Examples\ Open the file 'Old Roman numbers.t2k' Choose in the menu [File][Print][Normal]
Exp: Print options dialog is shown Act: Nothing happens
http://bugs.winehq.org/show_bug.cgi?id=12672
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |download Summary|Unimplemented function |Unimplemented function |mshtml.dll.PrintHTML |mshtml.dll.PrintHTML causes | |crash when printing in Teach | |2000
--- Comment #1 from Austin English austinenglish@gmail.com 2008-04-20 16:14:43 --- Confirming in 0.9.60. I'll attach a backtrace with debugging symbols.
http://bugs.winehq.org/show_bug.cgi?id=12672
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #12332|0 |1 is obsolete| |
--- Comment #2 from Austin English austinenglish@gmail.com 2008-04-20 16:15:00 --- Created an attachment (id=12350) --> (http://bugs.winehq.org/attachment.cgi?id=12350) backtrace in wine 0.9.60
http://bugs.winehq.org/show_bug.cgi?id=12672
--- Comment #3 from Austin English austinenglish@gmail.com 2008-12-05 16:34:40 --- Unhandled exception: unimplemented function mshtml.dll.PrintHTML called in 32-bit code (0x7ee189cc). wine: Call from 0x7ee1894c to unimplemented function mshtml.dll.ShowModalDialog, aborting wine: Call from 0x7ee1894c to unimplemented function mshtml.dll.ShowModelessHTMLDialog, aborting
Still present in 1.1.10.
To reproduce: $ rm -rf ~/.wine $ winetricks riched20 $ wine teach831.exe
Install as usual, launch, choose english type in main window: foo = bar Press 'down' File, Print, Normal Crash
The riched20 bug is bug 16349.
http://bugs.winehq.org/show_bug.cgi?id=12672
--- Comment #4 from bas teach2000@basement.nl 2009-04-10 12:08:25 --- Created an attachment (id=20367) --> (http://bugs.winehq.org/attachment.cgi?id=20367) Test application to reproduce this bug
See the attachment 12672.zip for the test application to reproduce this problem.
Source: procedure TForm18.Button1Click(Sender: TObject); const cOperation: PAnsiChar = 'OPEN'; cFileName = 'rundll32.exe'; cParametersFmt = 'mshtml.dll,PrintHTML "%s"'; var LFileName: string; begin LFileName := Application.ExeName + '.html'; ShellExecute(Handle, cOperation, cFileName, PChar(Format(cParametersFmt, [LFileName])), nil, 0); end;
http://bugs.winehq.org/show_bug.cgi?id=12672
bas teach2000@basement.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |mshtml OS/Version|Linux |All
http://bugs.winehq.org/show_bug.cgi?id=12672
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- OS/Version|All |other
--- Comment #5 from Vitaliy Margolen vitaliy@kievinfo.com 2009-04-26 16:10:38 --- Select _your_ OS.
http://bugs.winehq.org/show_bug.cgi?id=12672
Detlef Riekenberg wine.dev@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine.dev@web.de
http://bugs.winehq.org/show_bug.cgi?id=12672
a1283565@uggsrock.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |a1283565@uggsrock.com
--- Comment #6 from a1283565@uggsrock.com 2010-05-23 14:21:09 --- still present in Wine 1.2-rc1 on Ubuntu 9.10. trace from test application:
wine: Call from 0x7b836842 to unimplemented function mshtml.dll.PrintHTML, aborting wine: Unimplemented function mshtml.dll.PrintHTML called at address 0x7b836842 (thread 001b), starting debugger... Unhandled exception: unimplemented function mshtml.dll.PrintHTML called in 32-bit code (0x7b836842). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:7b836842 ESP:0033fc64 EBP:0033fcc8 EFLAGS:00200246( - -- I Z- -P- ) EAX:7b826641 EBX:7b883ff4 ECX:00000000 EDX:80000100 ESI:80000100 EDI:2001a324 Stack dump: 0x0033fc64: 0033fce8 00000008 0000003c 80000100 0x0033fc74: 00000001 00000000 7b836842 00000002 0x0033fc84: 200a08a0 200a08ee 7bc351ef 00000030 0x0033fc94: 0033fca8 7bc47616 7b883ff4 0022064c 0x0033fca4: 00000030 0033fd08 7b84ab1f 681486a0 0x0033fcb4: 00000000 0022064c 7b8367fa 74a3fff4 Backtrace: =>0 0x7b836842 in kernel32 (+0x26842) (0x0033fcc8) 1 0x200a0818 in mshtml (+0x90817) (0x0033fcf8) 2 0x2001a34d in mshtml (+0xa34c) (0x0033fdf8) 3 0x74a3e636 wmain+0xa5() in rundll32 (0x0033fe78) 4 0x74a3e582 in rundll32 (+0xe581) (0x0033fea8) 5 0x7b857a44 in kernel32 (+0x47a43) (0x0033fee8) 6 0x7bc6f5e0 call_thread_func+0xb() in ntdll (0x0033fef8) 7 0x7bc6f7b0 call_thread_entry_point+0x6f() in ntdll (0x0033ffc8) 8 0x7bc4b52a in ntdll (+0x3b529) (0x0033ffe8) 9 0x68024e9d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000) 0x7b836842: subl $4,%esp Modules: Module Address Debug info Name (68 modules) ELF 20000000-200d6000 Export mshtml<elf> -PE 20010000-200d6000 \ mshtml ELF 200d6000-20138000 Deferred shlwapi<elf> -PE 200e0000-20138000 \ shlwapi ELF 20138000-20220000 Deferred oleaut32<elf> -PE 20150000-20220000 \ oleaut32 ELF 254e1000-25515000 Deferred uxtheme<elf> -PE 254f0000-25515000 \ uxtheme ELF 2d09c000-2d0f9000 Deferred urlmon<elf> -PE 2d0b0000-2d0f9000 \ urlmon ELF 4e57d000-4e666000 Deferred comctl32<elf> -PE 4e590000-4e666000 \ comctl32 ELF 50f57000-50fb1000 Deferred wininet<elf> -PE 50f60000-50fb1000 \ wininet ELF 68000000-6801d000 Deferred ld-linux.so.2 ELF 6801d000-6815d000 Export libwine.so.1 ELF 6815d000-68176000 Deferred libpthread.so.0 ELF 68176000-682ba000 Deferred libc.so.6 ELF 682ba000-682be000 Deferred libdl.so.2 ELF 682be000-682e4000 Deferred libm.so.6 ELF 682e4000-682ec000 Deferred libnss_compat.so.2 ELF 682ec000-68303000 Deferred libnsl.so.1 ELF 68303000-6830f000 Deferred libnss_files.so.2 ELF 6830f000-6839a000 Deferred gdi32<elf> -PE 68320000-6839a000 \ gdi32 ELF 6839a000-683f4000 Deferred advapi32<elf> -PE 683b0000-683f4000 \ advapi32 ELF 683f4000-68468000 Deferred rpcrt4<elf> -PE 68400000-68468000 \ rpcrt4 ELF 68468000-684e7000 Deferred libfreetype.so.6 ELF 684e7000-684fd000 Deferred libz.so.1 ELF 684fd000-6852a000 Deferred libfontconfig.so.1 ELF 6852a000-68551000 Deferred libexpat.so.1 ELF 68551000-6855a000 Deferred libsm.so.6 ELF 6855a000-68575000 Deferred libice.so.6 ELF 68575000-68585000 Deferred libxext.so.6 ELF 68585000-686b4000 Deferred libx11.so.6 ELF 686b4000-686b9000 Deferred libuuid.so.1 ELF 686b9000-686d7000 Deferred libxcb.so.1 ELF 686d7000-686dc000 Deferred libxdmcp.so.6 ELF 686dc000-686fe000 Deferred imm32<elf> -PE 686e0000-686fe000 \ imm32 ELF 686fe000-68701000 Deferred libxinerama.so.1 ELF 68701000-68707000 Deferred libxxf86vm.so.1 ELF 68707000-68711000 Deferred libxrender.so.1 ELF 68711000-6871a000 Deferred libxrandr.so.2 ELF 6871a000-6871e000 Deferred libxcomposite.so.1 ELF 6871e000-68724000 Deferred libxfixes.so.3 ELF 68724000-6872f000 Deferred libxcursor.so.1 ELF 696b3000-696b7000 Deferred libxau.so.6 ELF 6a5f4000-6a724000 Deferred user32<elf> -PE 6a610000-6a724000 \ user32 ELF 6f98b000-6f9af000 Deferred mpr<elf> -PE 6f990000-6f9af000 \ mpr ELF 71574000-7157f000 Deferred libnss_nis.so.2 ELF 72580000-72750000 Deferred shell32<elf> -PE 72590000-72750000 \ shell32 ELF 731ec000-7328e000 Deferred winex11<elf> -PE 73200000-7328e000 \ winex11 ELF 74a2c000-74a41000 Export rundll32<elf> -PE 74a30000-74a41000 \ rundll32 ELF 77811000-77911000 Deferred ole32<elf> -PE 77830000-77911000 \ ole32 ELF 7b800000-7b93c000 Export kernel32<elf> -PE 7b810000-7b93c000 \ kernel32 ELF 7bc00000-7bcb8000 Export ntdll<elf> -PE 7bc10000-7bcb8000 \ ntdll ELF 7bf00000-7bf04000 Deferred <wine-loader> Threads: process tid prio (all id:s are in hex) 00000008 project17.exe 00000009 0 0000000e services.exe 00000015 0 00000014 0 00000010 0 0000000f 0 00000011 winedevice.exe 00000017 0 00000016 0 00000013 0 00000012 0 00000018 explorer.exe 00000019 0 0000001a (D) C:\windows\system32\rundll32.exe 0000001b 0 <== Backtrace: =>0 0x7b836842 in kernel32 (+0x26842) (0x0033fcc8) 1 0x200a0818 in mshtml (+0x90817) (0x0033fcf8) 2 0x2001a34d in mshtml (+0xa34c) (0x0033fdf8) 3 0x74a3e636 wmain+0xa5() in rundll32 (0x0033fe78) 4 0x74a3e582 in rundll32 (+0xe581) (0x0033fea8) 5 0x7b857a44 in kernel32 (+0x47a43) (0x0033fee8) 6 0x7bc6f5e0 call_thread_func+0xb() in ntdll (0x0033fef8) 7 0x7bc6f7b0 call_thread_entry_point+0x6f() in ntdll (0x0033ffc8) 8 0x7bc4b52a in ntdll (+0x3b529) (0x0033ffe8) 9 0x68024e9d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000) wine: Call from 0x7b836842 to unimplemented function mshtml.dll.PrintHTML, aborting
http://bugs.winehq.org/show_bug.cgi?id=12672
--- Comment #7 from Austin English austinenglish@gmail.com 2010-09-22 04:07:25 CDT --- Hard to find info on this function. Apparently it has at least 4 parameters: http://support.microsoft.com/default.aspx?scid=kb;en-us;175306
though they are completely undocumented.
1 seems to the file to print 2 may be the printer name 3/4, couldn't find any info
http://bugs.winehq.org/show_bug.cgi?id=12672
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #8 from Jacek Caban jacek@codeweavers.com 2010-09-22 05:22:27 CDT --- It's a standard rundll API. A stub implementation sent to wine-patches.
http://bugs.winehq.org/show_bug.cgi?id=12672
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #9 from Austin English austinenglish@gmail.com 2010-09-22 16:28:46 CDT --- (In reply to comment #8)
It's a standard rundll API. A stub implementation sent to wine-patches.
Thanks.
Fixed by http://source.winehq.org/git/wine.git/?a=commitdiff;h=60827da9d5e5a0dc708cf1...
http://bugs.winehq.org/show_bug.cgi?id=12672
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2010-10-01 13:56:51 CDT --- Closing bugs fixed in 1.3.4.