http://bugs.winehq.org/show_bug.cgi?id=32447
Bug #: 32447 Summary: Function that used to work in version 1.3 stopped working in 1.4 and 1.5. Function was called after regestering the DLL scrrun.dll Product: Wine Version: 1.4 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: pedro.m.ferreira@gmail.com Classification: Unclassified
Created attachment 42804 --> http://bugs.winehq.org/attachment.cgi?id=42804 scrrun that needs to be registered
Im using a portuguese application that needs to have registered the DLL scrrun.dll. In wine versions 1.1 -> 1.3 i used to do $ regsvr32 scrrun.dll Successfully registered DLL scrrun.dll
So everything worked until version 1.3. Since version 1.4 i do the same procedure but the program stops working and asks me to register the scrrun.dll. The error output is this: wine: Unimplemented function scrrun.dll.DllGetClassObject called at address 0x7b839d82 (thread 0030), starting debugger...
I attached the scrrun.dll
http://bugs.winehq.org/show_bug.cgi?id=32447
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com Severity|blocker |normal
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com 2012-12-14 10:54:35 CST --- Please update to the latest development version of wine, the function DllGetClassObject is already implemented. If the problem persists after upgrading to 1.5.19 attach a new log.
http://bugs.winehq.org/show_bug.cgi?id=32447
--- Comment #2 from Dan Kegel dank@kegel.com 2012-12-14 11:21:16 CST --- The content of attachment 42804 has been deleted by Dan Kegel dank@kegel.com who provided the following reason:
Please don't attach copyrighted Microsoft dlls
The token used to delete this attachment was generated at 2012-12-14 11:21:01 CST.
http://bugs.winehq.org/show_bug.cgi?id=32447
--- Comment #3 from xekhz pedro.m.ferreira@gmail.com 2012-12-17 04:02:59 CST --- (im running wine in a 64 bits machine) $ wine --version wine-1.5.19
$ regsvr32 scrrun.dll Successfully registered DLL scrrun.dll
$ wine sca.exe . . .
fixme:scrrun:filesys_GetFileVersion 0x7d9257f0 L"Z:\mnt\updates\sca\SCA\sca.exe" 0x33ee60
That is the error i get. In prior version <1.3.34 in 32 bits mode
the software calls with sucess the Z:\mnt\updates\sca\SCA\sca.exe and executes an update.
http://bugs.winehq.org/show_bug.cgi?id=32447
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |scrrun
http://bugs.winehq.org/show_bug.cgi?id=32447
--- Comment #4 from Austin English austinenglish@gmail.com 2012-12-17 12:13:54 CST --- (In reply to comment #3)
(im running wine in a 64 bits machine) $ wine --version wine-1.5.19
$ regsvr32 scrrun.dll Successfully registered DLL scrrun.dll
$ wine sca.exe . . .
fixme:scrrun:filesys_GetFileVersion 0x7d9257f0 L"Z:\mnt\updates\sca\SCA\sca.exe" 0x33ee60
Running from a windows partition is not supported.
http://bugs.winehq.org/show_bug.cgi?id=32447
--- Comment #5 from xekhz pedro.m.ferreira@gmail.com 2012-12-17 14:39:34 CST --- This z: is mapped to the /mnt/ and /mnt is mounted As i said in the early post it worked in version 1.3 it is a problem with scrrundll and registering the dll. It as nothing to do with partitions
http://bugs.winehq.org/show_bug.cgi?id=32447
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com 2012-12-17 15:01:16 CST --- (In reply to comment #5)
As i said in the early post it worked in version 1.3 it is a problem with scrrundll and registering the dll.
Builtin scrrun.dll should be fixed so you don't have to use native one at all. So this bug is really about this unimplemented method:
--- fixme:scrrun:filesys_GetFileVersion 0x7d9257f0 L"Z:\mnt\updates\sca\SCA\sca.exe" 0x33ee60 ---
http://bugs.winehq.org/show_bug.cgi?id=32447
--- Comment #7 from xekhz pedro.m.ferreira@gmail.com 2012-12-17 15:10:32 CST --- Yes and no Nilolay... The funciotn should be implemented but in prior version registering the scrrun.dll, the native one, worked. Now it does not work in version 1.5.19
http://bugs.winehq.org/show_bug.cgi?id=32447
--- Comment #8 from xekhz pedro.m.ferreira@gmail.com 2012-12-18 04:13:44 CST --- Working with version 1.5.19 How i did it.... Copyed the native scrrun.dll to c:\windows\system32\
$ cd ~/.wine/drive_c/windows/system32/ $ regsvr32 scrrun.dll
then $ cd ~/.wine/drive_c/AIRC/SCA $ wine sca.exe And update runs flawless....
In prior versions i just coppied the scrrun.dll to ~/.wine/drive_c/AIRC/SCA and then regsvr32 scrrun.dll.
Now it seems i have to this in cd ~/.wine/drive_c/windows/system32/
http://bugs.winehq.org/show_bug.cgi?id=32447
Andreas Hermann Braml andreas@braml.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas@braml.org
--- Comment #9 from Andreas Hermann Braml andreas@braml.org 2012-12-19 16:50:13 CST --- Maybe this should be better documented (documentation bug)?
It seems that:
$ regsvr32 <whatever>.dll
executed in a directory where <whatever>.dll doesn't exist simply registers the builtin <whatever> DLL (again), if a builtin DLL exists. Only if no builtin DLL exists in Wine, the DLL from the directory is registered.
http://bugs.winehq.org/show_bug.cgi?id=32447
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Function that used to work |GetFileVersion is |in version 1.3 stopped |unimplemented |working in 1.4 and 1.5. | |Function was called after | |regestering the DLL | |scrrun.dll |
--- Comment #10 from Nikolay Sivov bunglehead@gmail.com 2012-12-19 22:06:23 CST --- Please try with current wine from git. Commit b6eaf8761db2b3cd75f75ed4071b8a17b4ccf919 implements this method.
http://bugs.winehq.org/show_bug.cgi?id=32447
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Fixed by SHA1| |b6eaf8761db2b3cd75f75ed4071 | |b8a17b4ccf919 Status|UNCONFIRMED |RESOLVED URL| |http://portal.airc.pt/lwp/w | |cm/connect/AIRC/Produtos/ER | |P+AIRC/Financeiro/SCAdownlo | |ads Resolution| |FIXED
--- Comment #11 from Bruno Jesus 00cpxxx@gmail.com 2013-01-10 19:56:47 CST --- (In reply to comment #10)
Please try with current wine from git. Commit b6eaf8761db2b3cd75f75ed4071b8a17b4ccf919 implements this method.
Thanks Nikolay, it indeed fixes the issue. I managed to find the program using the user log and tested it.
http://bugs.winehq.org/show_bug.cgi?id=32447
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2013-01-18 14:56:39 CST --- Closing bugs fixed in 1.5.22.