VT Cashbook
VT Cashbook
Hi all,
I am trying to get a very simple little program called VT Cashbook to run on wine. I keep on getting the following error:
ActiveX component can't create object.
I then click ok and then get
Run-time error '-2147221166 (80040152)
Automation error
The prog can be downloaded from http://www.vtsoftware.co.uk/cashbook/index.htm
It installs 2x programs, but I am only interested in VT Cashbook
Would be great if someone can help me.
I am trying to get a very simple little program called VT Cashbook to run on wine. I keep on getting the following error:
ActiveX component can't create object.
I then click ok and then get
Run-time error '-2147221166 (80040152)
Automation error
The prog can be downloaded from http://www.vtsoftware.co.uk/cashbook/index.htm
It installs 2x programs, but I am only interested in VT Cashbook
Would be great if someone can help me.
I downloaded the app. It needs native oleaut32.dll, scrrun.dll, and mfc42.dll to run. I copied all three from my XP partition. Scrrun.dll needs to be registered with regsvr32 after copying, and this needs to be done after copying mfc42.dll (or you'll get an error message that it can't be found). After that, set overrides for oleaut32 and scrrun just for this app in winecfg.
Alternatively, winetricks vcrun6 dcom98 will install mfc42 and oleaut32 respectively, but I don't think there's any way to install scrrun.dll with winetricks. If you do use winetricks to install dcom98, install it to a separate wineprefix, as it can prevent many other apps from running.
I don't know how to use the app, so I didn't test much, but everything I clicked on seems functional.
Alternatively, winetricks vcrun6 dcom98 will install mfc42 and oleaut32 respectively, but I don't think there's any way to install scrrun.dll with winetricks. If you do use winetricks to install dcom98, install it to a separate wineprefix, as it can prevent many other apps from running.
I don't know how to use the app, so I didn't test much, but everything I clicked on seems functional.
Hi,
I have copied oleaut32.dll, scrrun.dll and mfc42.dll from my windows partition to the system32 directory in wine. I have run "wine regsvr32 mfc42.dll" and it installed the library. I do however get an error "Failed to load DLL /home/johan/.wine/drive_c/windows/system32/scrrun.dll" when trying to install scrrun.dll.
I am very new at this...
I have copied oleaut32.dll, scrrun.dll and mfc42.dll from my windows partition to the system32 directory in wine. I have run "wine regsvr32 mfc42.dll" and it installed the library. I do however get an error "Failed to load DLL /home/johan/.wine/drive_c/windows/system32/scrrun.dll" when trying to install scrrun.dll.
I am very new at this...
What's the exact command you're using to register scrrun.dll?johanpm wrote:Hi,
I have copied oleaut32.dll, scrrun.dll and mfc42.dll from my windows partition to the system32 directory in wine. I have run "wine regsvr32 mfc42.dll" and it installed the library. I do however get an error "Failed to load DLL /home/johan/.wine/drive_c/windows/system32/scrrun.dll" when trying to install scrrun.dll.
I am very new at this...
Also, what version of Wine are you using? I'm using 1.2; if you're not, upgrade.
I tried the winetricks route...
This is the error message I get. I am using 64bit Fedora. Not sure if this makes any difference.
[johan@johanlaptop ~]$ sh winetricks wsh56
Executing wget -O scripten.exe -nd -c --read-timeout=300 --retry-connrefused --header Accept-Encoding: gzip,deflate http://download.microsoft.com/download/ ... ripten.exe
--2010-07-22 10:13:46-- http://download.microsoft.com/download/ ... ripten.exe
Resolving download.microsoft.com... 165.165.37.9, 165.165.37.24
Connecting to download.microsoft.com|165.165.37.9|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1079152 (1.0M) [application/octet-stream]
Saving to: “scripten.exe”
100%[======================================>] 1,079,152 101K/s in 7.6s
2010-07-22 10:13:58 (138 KB/s) - “scripten.exe” saved [1079152/1079152]
Executing /usr/bin/cabextract -d /home/johan/.wine/dosdevices/c:/windows/system32 /home/johan/.winetrickscache/scripten.exe
Extracting cabinet: /home/johan/.winetrickscache/scripten.exe
extracting /home/johan/.wine/dosdevices/c:/windows/system32/dispex.dll
extracting /home/johan/.wine/dosdevices/c:/windows/system32/jscript.dll
extracting /home/johan/.wine/dosdevices/c:/windows/system32/scrobj.dll
extracting /home/johan/.wine/dosdevices/c:/windows/system32/scrrun.dll
extracting /home/johan/.wine/dosdevices/c:/windows/system32/spmsg.dll
extracting /home/johan/.wine/dosdevices/c:/windows/system32/vbscript.dll
extracting /home/johan/.wine/dosdevices/c:/windows/system32/wshcon.dll
extracting /home/johan/.wine/dosdevices/c:/windows/system32/wshext.dll
extracting /home/johan/.wine/dosdevices/c:/windows/system32/cscript.exe
extracting /home/johan/.wine/dosdevices/c:/windows/system32/spuninst.exe
extracting /home/johan/.wine/dosdevices/c:/windows/system32/wscript.exe
extracting /home/johan/.wine/dosdevices/c:/windows/system32/wscript.hlp
extracting /home/johan/.wine/dosdevices/c:/windows/system32/scripten.inf
extracting /home/johan/.wine/dosdevices/c:/windows/system32/wshom.ocx
extracting /home/johan/.wine/dosdevices/c:/windows/system32/update/scripten.cat
extracting /home/johan/.wine/dosdevices/c:/windows/system32/update/spcustom.dll
extracting /home/johan/.wine/dosdevices/c:/windows/system32/update/updspapi.dll
extracting /home/johan/.wine/dosdevices/c:/windows/system32/update/update.exe
extracting /home/johan/.wine/dosdevices/c:/windows/system32/update/update.inf
extracting /home/johan/.wine/dosdevices/c:/windows/system32/update/eula.txt
extracting /home/johan/.wine/dosdevices/c:/windows/system32/update/update.ver
All done, no errors.
Using native,builtin override for following DLLs: jscript.dll
Executing early_wine regedit c:\winetrickstmp\override-dll.reg
REGEDIT4
[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*jscript.dll"="native,builtin"
Executing wine regsvr32 dispex.dll jscript.dll scrobj.dll scrrun.dll vbscript.dll wshcon.dll wshext.dll
Successfully registered DLL dispex.dll
Successfully registered DLL jscript.dll
Failed to load DLL scrobj.dll
------------------------------------------------------
Note: command 'wine regsvr32 dispex.dll jscript.dll scrobj.dll scrrun.dll vbscript.dll wshcon.dll wshext.dll' returned status 1. Aborting.
------------------------------------------------------
This is the error message I get. I am using 64bit Fedora. Not sure if this makes any difference.
[johan@johanlaptop ~]$ sh winetricks wsh56
Executing wget -O scripten.exe -nd -c --read-timeout=300 --retry-connrefused --header Accept-Encoding: gzip,deflate http://download.microsoft.com/download/ ... ripten.exe
--2010-07-22 10:13:46-- http://download.microsoft.com/download/ ... ripten.exe
Resolving download.microsoft.com... 165.165.37.9, 165.165.37.24
Connecting to download.microsoft.com|165.165.37.9|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1079152 (1.0M) [application/octet-stream]
Saving to: “scripten.exe”
100%[======================================>] 1,079,152 101K/s in 7.6s
2010-07-22 10:13:58 (138 KB/s) - “scripten.exe” saved [1079152/1079152]
Executing /usr/bin/cabextract -d /home/johan/.wine/dosdevices/c:/windows/system32 /home/johan/.winetrickscache/scripten.exe
Extracting cabinet: /home/johan/.winetrickscache/scripten.exe
extracting /home/johan/.wine/dosdevices/c:/windows/system32/dispex.dll
extracting /home/johan/.wine/dosdevices/c:/windows/system32/jscript.dll
extracting /home/johan/.wine/dosdevices/c:/windows/system32/scrobj.dll
extracting /home/johan/.wine/dosdevices/c:/windows/system32/scrrun.dll
extracting /home/johan/.wine/dosdevices/c:/windows/system32/spmsg.dll
extracting /home/johan/.wine/dosdevices/c:/windows/system32/vbscript.dll
extracting /home/johan/.wine/dosdevices/c:/windows/system32/wshcon.dll
extracting /home/johan/.wine/dosdevices/c:/windows/system32/wshext.dll
extracting /home/johan/.wine/dosdevices/c:/windows/system32/cscript.exe
extracting /home/johan/.wine/dosdevices/c:/windows/system32/spuninst.exe
extracting /home/johan/.wine/dosdevices/c:/windows/system32/wscript.exe
extracting /home/johan/.wine/dosdevices/c:/windows/system32/wscript.hlp
extracting /home/johan/.wine/dosdevices/c:/windows/system32/scripten.inf
extracting /home/johan/.wine/dosdevices/c:/windows/system32/wshom.ocx
extracting /home/johan/.wine/dosdevices/c:/windows/system32/update/scripten.cat
extracting /home/johan/.wine/dosdevices/c:/windows/system32/update/spcustom.dll
extracting /home/johan/.wine/dosdevices/c:/windows/system32/update/updspapi.dll
extracting /home/johan/.wine/dosdevices/c:/windows/system32/update/update.exe
extracting /home/johan/.wine/dosdevices/c:/windows/system32/update/update.inf
extracting /home/johan/.wine/dosdevices/c:/windows/system32/update/eula.txt
extracting /home/johan/.wine/dosdevices/c:/windows/system32/update/update.ver
All done, no errors.
Using native,builtin override for following DLLs: jscript.dll
Executing early_wine regedit c:\winetrickstmp\override-dll.reg
REGEDIT4
[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*jscript.dll"="native,builtin"
Executing wine regsvr32 dispex.dll jscript.dll scrobj.dll scrrun.dll vbscript.dll wshcon.dll wshext.dll
Successfully registered DLL dispex.dll
Successfully registered DLL jscript.dll
Failed to load DLL scrobj.dll
------------------------------------------------------
Note: command 'wine regsvr32 dispex.dll jscript.dll scrobj.dll scrrun.dll vbscript.dll wshcon.dll wshext.dll' returned status 1. Aborting.
------------------------------------------------------
I basically get the same error if I try that
[johan@johanlaptop ~]$ WINEPREFIX=~/garbage sh winetricks wsh56
wine: created the configuration directory '/home/johan/garbage'
err:mmdevapi:load_libopenal Couldn't load libopenal.so.1: libopenal.so.1: cannot open shared object file: No such file or directory
err:mmdevapi:load_libopenal Couldn't load libopenal.so.1: libopenal.so.1: cannot open shared object file: No such file or directory
wine: configuration in '/home/johan/garbage' has been updated.
Executing /usr/bin/cabextract -d /home/johan/garbage/dosdevices/c:/windows/system32 /home/johan/.winetrickscache/scripten.exe
Extracting cabinet: /home/johan/.winetrickscache/scripten.exe
extracting /home/johan/garbage/dosdevices/c:/windows/system32/dispex.dll
extracting /home/johan/garbage/dosdevices/c:/windows/system32/jscript.dll
extracting /home/johan/garbage/dosdevices/c:/windows/system32/scrobj.dll
extracting /home/johan/garbage/dosdevices/c:/windows/system32/scrrun.dll
extracting /home/johan/garbage/dosdevices/c:/windows/system32/spmsg.dll
extracting /home/johan/garbage/dosdevices/c:/windows/system32/vbscript.dll
extracting /home/johan/garbage/dosdevices/c:/windows/system32/wshcon.dll
extracting /home/johan/garbage/dosdevices/c:/windows/system32/wshext.dll
extracting /home/johan/garbage/dosdevices/c:/windows/system32/cscript.exe
extracting /home/johan/garbage/dosdevices/c:/windows/system32/spuninst.exe
extracting /home/johan/garbage/dosdevices/c:/windows/system32/wscript.exe
extracting /home/johan/garbage/dosdevices/c:/windows/system32/wscript.hlp
extracting /home/johan/garbage/dosdevices/c:/windows/system32/scripten.inf
extracting /home/johan/garbage/dosdevices/c:/windows/system32/wshom.ocx
extracting /home/johan/garbage/dosdevices/c:/windows/system32/update/scripten.cat
extracting /home/johan/garbage/dosdevices/c:/windows/system32/update/spcustom.dll
extracting /home/johan/garbage/dosdevices/c:/windows/system32/update/updspapi.dll
extracting /home/johan/garbage/dosdevices/c:/windows/system32/update/update.exe
extracting /home/johan/garbage/dosdevices/c:/windows/system32/update/update.inf
extracting /home/johan/garbage/dosdevices/c:/windows/system32/update/eula.txt
extracting /home/johan/garbage/dosdevices/c:/windows/system32/update/update.ver
All done, no errors.
Using native,builtin override for following DLLs: jscript.dll
Executing early_wine regedit c:\winetrickstmp\override-dll.reg
REGEDIT4
[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*jscript.dll"="native,builtin"
Executing wine regsvr32 dispex.dll jscript.dll scrobj.dll scrrun.dll vbscript.dll wshcon.dll wshext.dll
Successfully registered DLL dispex.dll
Successfully registered DLL jscript.dll
Failed to load DLL scrobj.dll
------------------------------------------------------
Note: command 'wine regsvr32 dispex.dll jscript.dll scrobj.dll scrrun.dll vbscript.dll wshcon.dll wshext.dll' returned status 1. Aborting.
------------------------------------------------------
[johan@johanlaptop ~]$
[johan@johanlaptop ~]$ WINEPREFIX=~/garbage sh winetricks wsh56
wine: created the configuration directory '/home/johan/garbage'
err:mmdevapi:load_libopenal Couldn't load libopenal.so.1: libopenal.so.1: cannot open shared object file: No such file or directory
err:mmdevapi:load_libopenal Couldn't load libopenal.so.1: libopenal.so.1: cannot open shared object file: No such file or directory
wine: configuration in '/home/johan/garbage' has been updated.
Executing /usr/bin/cabextract -d /home/johan/garbage/dosdevices/c:/windows/system32 /home/johan/.winetrickscache/scripten.exe
Extracting cabinet: /home/johan/.winetrickscache/scripten.exe
extracting /home/johan/garbage/dosdevices/c:/windows/system32/dispex.dll
extracting /home/johan/garbage/dosdevices/c:/windows/system32/jscript.dll
extracting /home/johan/garbage/dosdevices/c:/windows/system32/scrobj.dll
extracting /home/johan/garbage/dosdevices/c:/windows/system32/scrrun.dll
extracting /home/johan/garbage/dosdevices/c:/windows/system32/spmsg.dll
extracting /home/johan/garbage/dosdevices/c:/windows/system32/vbscript.dll
extracting /home/johan/garbage/dosdevices/c:/windows/system32/wshcon.dll
extracting /home/johan/garbage/dosdevices/c:/windows/system32/wshext.dll
extracting /home/johan/garbage/dosdevices/c:/windows/system32/cscript.exe
extracting /home/johan/garbage/dosdevices/c:/windows/system32/spuninst.exe
extracting /home/johan/garbage/dosdevices/c:/windows/system32/wscript.exe
extracting /home/johan/garbage/dosdevices/c:/windows/system32/wscript.hlp
extracting /home/johan/garbage/dosdevices/c:/windows/system32/scripten.inf
extracting /home/johan/garbage/dosdevices/c:/windows/system32/wshom.ocx
extracting /home/johan/garbage/dosdevices/c:/windows/system32/update/scripten.cat
extracting /home/johan/garbage/dosdevices/c:/windows/system32/update/spcustom.dll
extracting /home/johan/garbage/dosdevices/c:/windows/system32/update/updspapi.dll
extracting /home/johan/garbage/dosdevices/c:/windows/system32/update/update.exe
extracting /home/johan/garbage/dosdevices/c:/windows/system32/update/update.inf
extracting /home/johan/garbage/dosdevices/c:/windows/system32/update/eula.txt
extracting /home/johan/garbage/dosdevices/c:/windows/system32/update/update.ver
All done, no errors.
Using native,builtin override for following DLLs: jscript.dll
Executing early_wine regedit c:\winetrickstmp\override-dll.reg
REGEDIT4
[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*jscript.dll"="native,builtin"
Executing wine regsvr32 dispex.dll jscript.dll scrobj.dll scrrun.dll vbscript.dll wshcon.dll wshext.dll
Successfully registered DLL dispex.dll
Successfully registered DLL jscript.dll
Failed to load DLL scrobj.dll
------------------------------------------------------
Note: command 'wine regsvr32 dispex.dll jscript.dll scrobj.dll scrrun.dll vbscript.dll wshcon.dll wshext.dll' returned status 1. Aborting.
------------------------------------------------------
[johan@johanlaptop ~]$
well amazing, i 've never seen such an error on a clean ~/.wine. I haven't got a clue where this error comes from. The only thing i can think of is you have a screwed up wine-package?Successfully registered DLL jscript.dll
Failed to load DLL scrobj.dll
------------------------------------------------------
Note: command 'wine regsvr32 dispex.dll jscript.dll scrobj.dll scrrun.dll vbscript.dll wshcon.dll wshext.dll' returned status 1. Aborting.
------------------------------------------------------
Could you run this:
WINEDEBUG=+relay,+seh,+tid wine regsvr32.exe scrrun.dll &>/tmp/log.txt
and after compressing /tmp/log.txt (with bzip2) put the file /tmp/log.txt.bz2 somewhere up on a server where i can get it to have a look?
Done. You can get the file here:
www.generalitsystems.com/downloads/log.txt.bz2
www.generalitsystems.com/downloads/log.txt.bz2
I suppose you generated that log after winetricks wsh56, right ? still, looks like some lines are missing from the log
could you do this as well:
WINEDEBUG=+module,+file wine regsvr32.exe scrrun.dll &>/tmp/log.txt
and after compressing /tmp/log.txt (with bzip2) put the file /tmp/log.txt.bz2 somewhere up on a server where i can get it to have a look?
could you do this as well:
WINEDEBUG=+module,+file wine regsvr32.exe scrrun.dll &>/tmp/log.txt
and after compressing /tmp/log.txt (with bzip2) put the file /tmp/log.txt.bz2 somewhere up on a server where i can get it to have a look?
apparently it cannot find scrrun and fails. It's looking for the file in syswow64:
trace:file:wine_nt_to_unix_file_name L"\\windows\\system32\\scrrun.dll" not found in /home/johan/.wine/dosdevices/c:/windows/syswow64
I guess you run a 64-bit wine, right? Unfortunately i'm not familiar with how 64-bits wine puts dlls in directories....
Does the following work though:
cd ~
cp -rf ~/.wine/drive_c/windows/system32/scrrun.dll ~
wine regsvr32.exe scrrun.dll
trace:file:wine_nt_to_unix_file_name L"\\windows\\system32\\scrrun.dll" not found in /home/johan/.wine/dosdevices/c:/windows/syswow64
I guess you run a 64-bit wine, right? Unfortunately i'm not familiar with how 64-bits wine puts dlls in directories....
Does the following work though:
cd ~
cp -rf ~/.wine/drive_c/windows/system32/scrrun.dll ~
wine regsvr32.exe scrrun.dll
Yes, its 64 bit.
I did the copy and then registered the dll. That worked fine.
[johan@johanlaptop ~]$ cd ~
[johan@johanlaptop ~]$ cp -rf ~/.wine/drive_c/windows/system32/scrrun.dll ~
[johan@johanlaptop ~]$ wine regsvr32.exe scrrun.dll
Successfully registered DLL scrrun.dll
[johan@johanlaptop ~]$
Is it possible to run 32 bit wine on 64 bit Fedora?
I did the copy and then registered the dll. That worked fine.
[johan@johanlaptop ~]$ cd ~
[johan@johanlaptop ~]$ cp -rf ~/.wine/drive_c/windows/system32/scrrun.dll ~
[johan@johanlaptop ~]$ wine regsvr32.exe scrrun.dll
Successfully registered DLL scrrun.dll
[johan@johanlaptop ~]$
Is it possible to run 32 bit wine on 64 bit Fedora?
Then if you now run the application, does it start fine?I did the copy and then registered the dll. That worked fine.
Not sure. However, maybe there's a problem with the 64-bit Fedora wine-package. I can't think of another reason why simple things like 'winetricks wsh56' don;t workIs it possible to run 32 bit wine on 64 bit Fedora?
[johan@johanlaptop VT Transaction]$ WINEDLLOVERRIDES="oleaut32=n" wine Cashbook.exe
err:module:import_dll Library API-MS-Win-Core-LocalRegistry-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\OLEAUT32.dll") not found
err:module:import_dll Library API-MS-Win-Core-ProcessThreads-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\OLEAUT32.dll") not found
err:module:import_dll Library API-MS-Win-Security-Base-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\OLEAUT32.dll") not found
err:module:import_dll Library OLEAUT32.dll (which is needed by L"C:\\windows\\system32\\MSVBVM60.DLL") not found
err:module:import_dll Library MSVBVM60.DLL (which is needed by L"C:\\Program Files\\VT Transaction\\Cashbook.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\VT Transaction\\Cashbook.exe" failed, status c0000135
err:module:import_dll Library API-MS-Win-Core-LocalRegistry-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\OLEAUT32.dll") not found
err:module:import_dll Library API-MS-Win-Core-ProcessThreads-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\OLEAUT32.dll") not found
err:module:import_dll Library API-MS-Win-Security-Base-L1-1-0.dll (which is needed by L"C:\\windows\\system32\\OLEAUT32.dll") not found
err:module:import_dll Library OLEAUT32.dll (which is needed by L"C:\\windows\\system32\\MSVBVM60.DLL") not found
err:module:import_dll Library MSVBVM60.DLL (which is needed by L"C:\\Program Files\\VT Transaction\\Cashbook.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\VT Transaction\\Cashbook.exe" failed, status c0000135