How do I register MFC42.dll

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
jonnycat
Level 1
Level 1
Posts: 7
Joined: Wed Jun 20, 2012 8:59 pm

How do I register MFC42.dll

Post by jonnycat »

Hello,

I am trying to install IrfanView, so I downloaded and placed mfc42.dll in my ./wine/drive_c/windows/system32 folder.

Now I need to register this in the wine configuration window, but how? The library tab gives me an option of a new library override, but what am I trying to override here (there is no mfc42 entry to override)?

Thanks for any help.
jonnycat
Level 1
Level 1
Posts: 7
Joined: Wed Jun 20, 2012 8:59 pm

Post by jonnycat »

Okay, scratch this, all I had to do was put the mfc42.dll in the system32 folder for IrfanView to install. Didn't have to register anything.
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Post by DanKegel »

You don't need to. Copying mfc42.dll (and for many apps, mfc42u.dll!) into system32 is all you need to do.

winetricks mfc42 does both for you.
jonnycat
Level 1
Level 1
Posts: 7
Joined: Wed Jun 20, 2012 8:59 pm

Post by jonnycat »

Hi Dan, thanks. You are right, just putting it in system32 worked.

BTW, I can't use winetricks as I have a 64 bit version of wine.
Locked