http://bugs.winehq.org/show_bug.cgi?id=9805
Summary: fixme:ole:OaBuildVersion16 Version value not known yet Product: Wine Version: 0.9.45. Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: wine-ole AssignedTo: wine-bugs@winehq.org ReportedBy: vincent.hardy.be@gmail.com
Created an attachment (id=8254) --> (http://bugs.winehq.org/attachment.cgi?id=8254) WINEDEBUG=+relay,+msgbox
With an old program from http://www.derouck.com/cdromgps/f/index.asp i have a messagebox with : "Wrong version of operating system; requires Windows NT 3.51 (build 1057 or above)"
I have tried with all different windows version in winecfg.
http://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2007-09-28 10:47:54 --- This seems to be part of the problem: 000c:Call TYPELIB.15: OABUILDVERSION() ret=131f:3492 ds=11ef fixme:ole:OaBuildVersion16 If you get version error messages, please report them 000c:Call KERNEL32.GetVersion() ret=7b183604 000c:Ret KERNEL32.GetVersion() retval=08930005 ret=7b183604 fixme:ole:OaBuildVersion16 Version value not known yet. Please investigate it! 000c:Ret TYPELIB.15: OABUILDVERSION() retval=00000000 ret=131f:3492 ds=11ef
You can probably hack dlls/oleaut32/typelib16.c to return something that makes it happy. I don't know for sure what that would be, but in the default case, instead of "return 0;", try "return MAKELONG(4277, 40);" instead.
Frankly, I'm not sure that typelib.dll should return a different version depending on the Wine version we're emulating. Returning a relatively recent version should work in all cases, yes?
http://bugs.winehq.org/show_bug.cgi?id=9805
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal
--- Comment #2 from Juan Lang juan_lang@yahoo.com 2007-09-28 10:48:37 --- By the way, this isn't a blocker.
http://bugs.winehq.org/show_bug.cgi?id=9805
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|fixme:ole:OaBuildVersion16 |Program "de rouck" does not |Version value not known yet |start.
http://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #3 from Vincent Hardy vincent.hardy.be@gmail.com 2007-10-02 01:09:06 --- return MAKELONG(4277, 40) is OK for the moment.
Now, next step :
fixme:ole:CoRegisterMessageFilter16 (0x3abfc6,0x3abfce),stub! fixme:ole:CoRegisterClassObject16 ({a4c4671c-499f-101b-bb78-00aa00383cbb},0x126ad0,0x00000001,0x00000001,0x9d205c),stub wine: Call from 0x7ee586c0 to unimplemented function ole2disp.dll.SAFEARRAYALLOCDATA, aborting wine: Unimplemented function ole2disp.dll.SAFEARRAYALLOCDATA called at address 0x7ee586c0 (thread 0021), starting debugger...
http://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #4 from Austin English austinenglish@gmail.com 2007-10-15 21:33:56 --- Have you tried:
wget http://www.kegel.com/wine/winetricks sh winetricks dcom98
To see if that works around the problem?
Also, can a demo/trial/etc be downloaded anywhere?
http://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #5 from Vincent Hardy vincent.hardy.be@gmail.com 2007-11-09 04:39:04 --- doesn't work with DCOM98 but it's strange : With DCOM98, Derouck complains about typelib version (however native), it's not the "unimplemented function ole2disp.dll.SAFEARRAYALLOCDATA" problem.
http://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #6 from Vincent Hardy vincent.hardy.be@gmail.com 2007-11-15 04:47:44 --- About comment #3 see http://bugs.winehq.org/show_bug.cgi?id=7938
http://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #7 from Austin English austinenglish@gmail.com 2008-06-03 13:37:40 --- Is this still an issue in 1.0-rc3?
http://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #8 from Vincent Hardy vincent.hardy.be@gmail.com 2008-06-05 01:48:23 --- Created an attachment (id=13707) --> (http://bugs.winehq.org/attachment.cgi?id=13707) what says wine 1.0-rc3
http://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #9 from Vincent Hardy vincent.hardy.be@gmail.com 2008-06-05 01:49:26 --- Yes this is still an issue in 1.0-rc3 (see new log file)
http://bugs.winehq.org/show_bug.cgi?id=9805
Rob Shearman robertshearman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|ole |oleaut32
http://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #10 from Austin English austinenglish@gmail.com 2009-01-29 11:43:08 --- Still unimplemented.
http://bugs.winehq.org/show_bug.cgi?id=9805
Vincent Hardy vincent.hardy.be@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |win16
--- Comment #11 from Vincent Hardy vincent.hardy.be@gmail.com 2009-07-02 02:29:47 --- wine 1.1.23 said now : Unimplemented function ole2disp.dll16.SAFEARRAYALLOCDATA
"ole2disp.dll16" display is a big improvment because, after a few tests, I've found out that it works with some native (16 bits calls) dll.
If it can help to debug wine win16 (and other "win16" users), lauching de rouck with -- WINEDLLOVERRIDES="ole2disp.dll16,typelib.dll16,compobj.dll16,ole32=n" wine DEROUCK.EXE -- works.
http://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #12 from Austin English austinenglish@gmail.com 2009-12-31 11:17:03 --- Rob's done quite a bit of ole work recently, you might give this another try in 1.1.35/1.1.36.
http://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #13 from Vincent Hardy vincent.hardy.be@gmail.com 2010-01-13 03:24:05 --- With wine 1.1.36, situation is worse : Derouck does not start at all
Console output say : "Could not load 'VB40016.DLL' required by 'DEROUCK', error=2"
although this file exists in Windows\System32
http://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #14 from Juan Lang juan_lang@yahoo.com 2010-01-13 10:53:33 --- Make sure you're installing on a clean wineprefix. The file shouldn't exist in windows\system32, it should be in windows\system.
http://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #15 from Vincent Hardy vincent.hardy.be@gmail.com 2010-01-18 05:49:34 --- OK, it works with wine-1.1.36 and vb40016.dll in windows\system.
But :
- There are some functions to implement prior to using all of builtin dll : Unimplemented function ole2disp.dll16.SAFEARRAYALLOCDATA Unimplemented function typelib.dll16.LOADREGTYPELIB Unimplemented function compobj.dll16.COSETSTATE
- Some time ago, install program worked, but not with wine 1.1.36.
http://bugs.winehq.org/show_bug.cgi?id=9805
Vincent Hardy vincent.hardy.be@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.linuxunderground | |.be/cd-derouck-020-06018765 | |-820.iso.bz2
--- Comment #16 from Vincent Hardy vincent.hardy.be@gmail.com 2010-06-17 02:10:09 --- Installer program works now (http://bugs.winehq.org/show_bug.cgi?id=22755)
Further explanations about how to use cd-derouck-020-06018765-820.iso.bz2 : http://www.linuxunderground.be/derouck.html
http://bugs.winehq.org/show_bug.cgi?id=9805
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com
--- Comment #17 from Vijay Kamuju infyquest@gmail.com 2011-08-31 16:31:54 CDT --- if the startup is an issue then this a duplicate of bug# 7938
http://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #18 from Vijay Kamuju infyquest@gmail.com 2012-07-12 06:32:27 CDT --- please test with wine 1.5.8
http://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #19 from Vincent Hardy vincent.hardy.be@gmail.com 2012-07-19 03:31:37 CDT --- Still unimplemented : function ole2disp.dll16.SAFEARRAYALLOCDATA function typelib.dll16.LOADREGTYPELIB function compobj.dll16.COSETSTATE
http://bugs.winehq.org/show_bug.cgi?id=9805
Jarkko K jarkko_korpi@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jarkko_korpi@hotmail.com
--- Comment #20 from Jarkko K jarkko_korpi@hotmail.com --- They are still stub.
So no need to try it.
https://bugs.winehq.org/show_bug.cgi?id=9805
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #21 from super_man@post.com --- this is dupe
https://bugs.winehq.org/show_bug.cgi?id=9805#c17
https://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #22 from Vincent Hardy vincent.hardy.be@gmail.com --- (In reply to super_man from comment #21)
this is dupe
No. For this bug, there is not only ole2disp.dll.SAFEARRAYALLOCDATA that is concerned. There are two other functions. See comment #19
https://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #23 from super_man@post.com --- It's still a dupe. One issue per bug report. You need to open a bug report about the other missing features. This is because of better tracking of things.
https://bugs.winehq.org/show_bug.cgi?id=9805
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|oleaut32 |ole16
https://bugs.winehq.org/show_bug.cgi?id=9805
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mstefani@redhat.com
--- Comment #24 from Michael Stefaniuc mstefani@redhat.com --- ole2disp.dll16.SAFEARRAYALLOCDATA was implemented with commit beceaa82ca28b99ef49a3b34f691ff234f001344
https://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #25 from Vijay Kamuju infyquest@gmail.com --- Although 16 bit functions are not implemented, can you please check again
https://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #26 from Gijs Vermeulen gijsvrm@gmail.com --- Created attachment 60255 --> https://bugs.winehq.org/attachment.cgi?id=60255 setup.exe log
Crashes for me (SETUP.exe) with unimplemented compobj.dll16.STRINGFROMIID. Wine-rc6, version set to NT 4.
https://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #27 from Gijs Vermeulen gijsvrm@gmail.com --- Created attachment 60258 --> https://bugs.winehq.org/attachment.cgi?id=60258 log with patch for stringtoiid
With the patch I will add below the installer finishes successfully. But trying to start DEROUCK.EXE runs into unimplemented ole2disp.dll16.SAFEARRAYDESTROYDATA.
https://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #28 from Gijs Vermeulen gijsvrm@gmail.com --- Created attachment 60259 --> https://bugs.winehq.org/attachment.cgi?id=60259 patch for StringFromIID
https://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #29 from Vijay Kamuju infyquest@gmail.com --- I also cameup with the same idea for StringFromIID Send it to wine-devel@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #30 from Vijay Kamuju infyquest@gmail.com --- Created attachment 60262 --> https://bugs.winehq.org/attachment.cgi?id=60262 patch for safearraydestroydata
Please try the above patch for SafeArrayDestroyData
https://bugs.winehq.org/show_bug.cgi?id=9805
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gijsvrm@gmail.com
--- Comment #31 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Vijay Kamuju from comment #29)
I also cameup with the same idea for StringFromIID Send it to wine-devel@winehq.org
Done.
(In reply to Vijay Kamuju from comment #30)
Created attachment 60262 [details] patch for safearraydestroydata
Please try the above patch for SafeArrayDestroyData
Doesn't compile.
../../../wine/dlls/ole2disp.dll16/ole2disp.c: In function ‘SafeArrayDestroyData16’: ../../../wine/dlls/ole2disp.dll16/ole2disp.c:250:22: error: ‘SAFEARRAY16’ has no member named ‘pVData’ safearray_free(sa->pVData);
https://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #32 from Gijs Vermeulen gijsvrm@gmail.com --- (In reply to Vijay Kamuju from comment #30)
Created attachment 60262 [details] patch for safearraydestroydata
Please try the above patch for SafeArrayDestroyData
With pVData changed to pvData so it compiles, I get the following log and error (see screenshot below).
gijs@linux-mg3j:~/.wine/drive_c/Program Files/Derouck> ~/Desktop/64bit/wine DEROUCK.EXE 0030:fixme:ole:OaBuildVersion16 If you get version error messages, please report them 0030:fixme:ole:CoRegisterMessageFilter16 (0x38e72e,0x38e736),stub! 0030:fixme:ole:CoRegisterClassObject16 ({a4c4671c-499f-101b-bb78-00aa00383cbb},0x16c348,0x00000001,0x00000001,0xa8204c),stub 0030:err:ole:CoGetClassObject16 class {0ba686c3-f7d3-101a-993e-0000c0ef6f5e} not registered 0030:fixme:ole:LoadTypeLib16 ("C:\windows\system32\THREED16.OCX",0xa8f576): stub
https://bugs.winehq.org/show_bug.cgi?id=9805
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #60255|0 |1 is obsolete| | Attachment #60258|0 |1 is obsolete| |
--- Comment #33 from Gijs Vermeulen gijsvrm@gmail.com --- Created attachment 60263 --> https://bugs.winehq.org/attachment.cgi?id=60263 screenshot showing error
https://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #34 from Vijay Kamuju infyquest@gmail.com --- LoadTypeLib16 probably needs to be properly redirected to LoadTypeLib
https://bugs.winehq.org/show_bug.cgi?id=9805
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #35 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-5.0-rc1?
https://bugs.winehq.org/show_bug.cgi?id=9805
--- Comment #36 from Vijay Kamuju infyquest@gmail.com --- I tested with 64bit wine, it crashes. I have to test with a 32bit wine prefix.
https://bugs.winehq.org/show_bug.cgi?id=9805
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|gijsvrm@gmail.com | URL|http://www.linuxunderground |https://web.archive.org/web |.be/cd-derouck-020-06018765 |/20220108211835if_/https:// |-820.iso.bz2 |www.linuxunderground.be/cd- | |derouck-020-06018765-820.is | |o.bz2
--- Comment #37 from Gijs Vermeulen gijsvrm@gmail.com --- This bug report has been recycled too many times. There were multiple issues here, most of which have been fixed. I'm going to mark this fixed now.
There are still issues remaining with the program, but if anyone is still interested in investing I would suggest to open a new bug.
Adding stable download.
$ sha1sum cd-derouck-020-06018765-820.iso.bz2 d3490bd2666d7535ef6e4f3f67236ff4d1b7b418 cd-derouck-020-06018765-820.iso.bz2
$ du -sh cd-derouck-020-06018765-820.iso.bz2 198M cd-derouck-020-06018765-820.iso.bz2
https://bugs.winehq.org/show_bug.cgi?id=9805
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #38 from Gijs Vermeulen gijsvrm@gmail.com --- Resolving.
https://bugs.winehq.org/show_bug.cgi?id=9805
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #39 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.0-rc6.