I am trying to run a program that needs MFC42.DLL. I downloaded the dll from a site and put it in the system32 folder, but it still did not recognize it. I changed the permissions to be more lenient but that did not help either. So I found and used winetricks vcrun6 mfc42 After doing this I made a terrible mistake. To make sure that it really added MFC42.dll and was not still the file I downloaded from the internet I decided to delete MFC42.dll and rerun winetricks. But winetricks said that vcrun6 and mfc42 were already installed so they did nothing. Now I have no MFC42.DLL and I'm afraid my program would not recognize it if I did have one. What do I do?!? Thanks.
This was the error I got err:module:import_dll Library MFC42.DLL (which is needed by L"Z:\\home\\ross\\.wine\\drive_c\\Program Files\\Program_Folder\\T4CLauncher.dll") not found
mondomunchies wrote:> I am trying to run a program that needs MFC42.DLL. I downloaded the > dll from a site and put it in the system32 folder, but it still did > not recognize it. I changed the permissions to be more lenient but > that did not help either. So I found and used > > winetricks vcrun6 mfc42 > > After doing this I made a terrible mistake. To make sure that it > really added MFC42.dll and was not still the file I downloaded from > the internet I decided to delete MFC42.dll and rerun winetricks. But > winetricks said that vcrun6 and mfc42 were already installed so they > did nothing. > > What do I do?!? Thanks.Just guessing, but try: wine regsvr32 /u MFC42.DLL That should unregister the file and then winetricks may reinstall it.
Did you cd to the directory where the exe is located before trying to run it? http://wiki.winehq.org/FAQ#head-3b297df7a5411abe2b8d37fead01a2b8edc21619
mondomunchies wrote:> > err:module:import_dll Library MFC42.DLL (which is needed by L"Z:\\home\\ross\\.wine\\drive_c\\Program Files\\Program_Folder\\T4CLauncher.dll") not foundEither 'cd' into directory with program, use 'start /unix' to start it or copy that dll into system32. walt wrote:> > Just guessing, but try: > wine regsvr32 /u MFC42.DLLNo, that dll does hot register itself.
mondomunchies wrote:> This was the error I got > > err:module:import_dll Library MFC42.DLL (which is needed by L"Z:\\home\\ross\\.wine\\drive_c\\Program Files\\Program_Folder\\T4CLauncher.dll") not found > >I know that Vitamin has stated to copy MFC42.dll into the system32 directory, but you may also need to copy it into the program directory as well. Some Windows programs ship with this file included with them and expect to find it in the product installation directory. Sadly, Wine cannot and should not fix this. James McKenzie