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 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.
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...
johanpm wrote:> I am using 1.2 > > The command I am running is: > > wine regsvr32 /home/johan/.wine/drive_c/windows/system32/scrrun.dllThat should work. Are you sure the file is in that directory? Also, is this a clean wineprefix (nothing else installed, no other overrides)?
What happens if you do this in a complete new and fresh .wine? e.g.: WINEPREFIX=~/garbage winetricks wsh56 then install and run the app also with the WINEPREFIX=~/garbage environmentvariable set?
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?
Done. Here you go... www.generalitsystems.com/downloads/log2.txt.bz2
[johan at 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
do winetricks mfc42, that should be enough to get oleaut32
On Thu, Jul 22, 2010 at 2:44 PM, johanpm <wineforum-user at winehq.org> wrote:> Where do I get MSVBVM60.DLL? >winetricks vb6run
I think my luck is out with this one. Perhaps it would be better to figure out how to run 32 bit on 64 bit Fedora
johanpm wrote:> Where do I get MSVBVM60.DLL?It's part of vb6run, but the app itself should have installed it (it did on my system). Look in ~/.wine/windows/system32. I have a feeling this is also due to your using 64 bit Wine. I suggest uninstalling it and only using the 32 bit package.
How do I install the 32bit package? If I do yum install wine, it will install 64 bit again
On Thu, Jul 22, 2010 at 4:32 PM, johanpm <wineforum-user at winehq.org> wrote:> I have re-installed wine 32 bit. > > VT Cashbook runs now, if I run: > WINEDLLOVERRIDES="oleaut32=n" wine Cashbook.exe > > How do I get it to run from the icon on the desktop?Attach that command from a launcher or set the override in winecfg for that application only. John
Fantastic!!! Thanx guys! I have gone cold turkey on Windows 7 so you will be hearing allot from me [Wink]
johanpm wrote:> Yes, its 64 bit. > >This is needs to be reported as a bug report.> I did the copy and then registered the dll. That worked fine. > > [johan at johanlaptop ~]$ cd ~ > [johan at johanlaptop ~]$ cp -rf ~/.wine/drive_c/windows/system32/scrrun.dll ~ > [johan at johanlaptop ~]$ wine regsvr32.exe scrrun.dll > Successfully registered DLL scrrun.dll > [johan at johanlaptop ~]$ > > Is it possible to run 32 bit wine on 64 bit Fedora? > > > >Sure. Just use yum to remove the 64 bit (i686) version and to install the 32 bit one (i386). You may need to install additional 32 bit library files as well. Yum should get them for you. James McKenzie