:D Hi, I installed wine on ubuntu 10.10 to run a windows program as reported here (http://appdb.winehq.org/objectManager.php?sClass=version&iId=22133&iTestingId=59338). After few trails I decided to reinstall Wine (now version 1.3.8 ), to configure it as instructed by the guide, and than to install again the windows application, Birthday Reminder. At present the application doesn't run for a problem with mfc42.dll Here the code from my terminal Code: claudio at Aspire-8530:~$ wine "c:\\Programmi\\Birthday Reminder\\bday.exe" Trying to load PE image for unsupported architecture (AMD-64) err:module:import_dll Loading library MFC42.DLL (which is needed by L"C:\\Programmi\\Birthday Reminder\\bday.exe") failed (error c000007b). err:module:LdrInitializeThunk Main exe initialization for L"C:\\Programmi\\Birthday Reminder\\bday.exe" failed, status c0000135 I ask for your help, thanks :D Claudio
DanKegel
2010-Dec-04 20:10 UTC
[Wine] Re: Error loading mfc42.dll - failed (error c000007b)
Ran fine for me with just winetricks mfc42 but the log message you posted, "Trying to load PE image for unsupported architecture (AMD-64)" makes me think you've done something funny. Try again with an empty .wine directory.
cpighin
2010-Dec-05 21:38 UTC
[Wine] Re: Error loading mfc42.dll - failed (error c000007b)
Thanks Dan for your reply :) Consider that before the actual installation of Wine, I did few actions to try to solve the problem with the previous installation and one of them was the use of winetricks to load the mfc42 library, of course without any result. Consider also that before writing this post, I copied file mfc42.dll (taken from my windows system) into my /home/claudio directory where I found it is located the file bdays.ini with data used by Birthday Reminder, hoping that the application would work. Than I gave the command: wine "c:\\Programmi\\Birthday Reminder\\bday.exe" and I get the same result as reported in msg #1 [Crying or Very sad] The file mfc42.dll is copied actually into following Ubuntu directories: /home/claudio /home/claudio/.wine/drive_c/Programmi /home/claudio/.wine/drive_c/Programmi/Birthday Reminder Any idea to help? Claudio :)
John Drescher
2010-Dec-07 20:57 UTC
[Wine] Error loading mfc42.dll - failed (error c000007b)
> If I remember correctly, before installing Wine1.3.8, I deleted ~/.wine directory, but my memory is not strong so it is possible that the problem is there. > > Before cancelling ~/.wine and re-installing again Wine, I would try other ways. It may be interesting a test I did few minutes ago with "sudo". > > Here is the code: > > Code: > claudio at Aspire-8530:~$ sudo wine "c:\\Programmi\\Birthday Reminder\\bday.exe" > [sudo] password for claudio: > wine: /home/claudio/.wine is not owned by you > > > May be you or some other expert can understand the problem combining the above information with the code of my first msg. > > Claudio ?:) >Cut it out with sudo. Please quit using sudo, root or su with wine. This will break things. John
cpighin
2010-Dec-09 10:20 UTC
[Wine] Re: Error loading mfc42.dll - failed (error c000007b)
:) Waiting for advises on how to proceed safely, I configured Wine following this guide http://www.winehq.org/docs/wineusr-guide/config-wine-main#USING-WINECFG. I noticed that folder /home/claudio/.wine was created at winecfg startup. I copied files bdaysetup.exe (application setup ) e bday.exe (application) in the folder /home/claudio/.wine/drive_c/Programmi to prepare Birthday Reminder installation. I set following parameters in WINECFG: - Tab Applications > Predefined setting > Windows version: Windows7 - Tab Applications > file /home/claudio/.wine/drive_c/Programmi/bday.exe > Windows version: WindowsXP - Tab Units > automatically detect I verificied the absence of folder Birthday Reminder within Wine menu Now I should install the application Birthday Reminder. Any suggestion on the best way to follow to avoid previous errors? Claudio :)
John Drescher
2010-Dec-09 16:14 UTC
[Wine] Error loading mfc42.dll - failed (error c000007b)
On Thu, Dec 9, 2010 at 11:05 AM, cpighin <wineforum-user at winehq.org> wrote:> :) I waited for several hours and no help arrived, so I installed Birthday Reminder with double-click on file /home/claudio/.wine/dosdevices/c:/Programmi/bdaysetup.exe as instructed by this guide http://wiki.winehq.org/FAQ#head-497f1a295d53dd3444f211df2b13312c7767afa2 > Birthday Reminder setup did the following: > - created a folder /home/claudio/.wine/dosdevices/c:/Programmi/Birthday Reminder contening files bday.exe (the excutable for the application) and instlog.lsl > - inserted a folder ?and and its dedicated launchers (Applications> Wine> Programs> Birthday Reminder> Setup / Check now) into Wine menu. > Than I tried to run Birthday Reminder by terminal command and I had the same result as msg#1. > > Code: > claudio at Aspire-8530:~$ wine "c:\\Programmi\\Birthday Reminder\\bday.exe" > err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\Programmi\\Birthday Reminder\\bday.exe") not found > err:module:LdrInitializeThunk Main exe initialization for L"C:\\Programmi\\Birthday Reminder\\bday.exe" failed, status c0000135 > > > > What is wrong now? Please help me! >Did you use winetricks to install vc6 runtimes? John
dimesio
2010-Dec-09 16:37 UTC
[Wine] Re: Error loading mfc42.dll - failed (error c000007b)
cpighin wrote:> > Code: > claudio at Aspire-8530:~$ wine "c:\\Programmi\\Birthday Reminder\\bday.exe" > err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\Programmi\\Birthday Reminder\\bday.exe") not found > > > >Install mfc42 with winetricks.
James Mckenzie
2010-Dec-09 18:06 UTC
[Wine] Error loading mfc42.dll - failed (error c000007b)
cpighin <wineforum-user at winehq.org> wrote:>Than I tried again to run Birthday Reminder and ... it worked as expected even if with a fixme issue that I don't> >understand. >Code: >claudio at Aspire-8530:~$ wine "c:\\Programmi\\Birthday Reminder\\bday.exe" >fixme:ole:DllRegisterServer stub >claudio at Aspire-8530:~$ >This fixme can be ignored unless your program is not running correctly. As for system behavior, what video card are you using? nVidia GPUs are best, AMD/ATI so-so and Intel are the worst for use with Wine. (Not that they are a bad product, this is based on the quality of Intel drivers versus nVidia drivers.) James McKenzie