ubuntu下用WINE报 “CAN’T FIND MFC42.DLL….BALABALA”问题

本文介绍了在Ubuntu环境下通过使用winetricks和cabextract工具来解决MFC42.DLL问题的具体步骤。包括下载winetricks、确保执行权限、安装cabextract以及执行特定命令来解决应用程序提示无法找到MFC42.DLL的问题。同时提供了在遇到类似问题时的替代解决方案。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

ubuntu下获取此库方法:
下载 winetricks:
wget http://www.kegel.com/wine/winetricks 
确保有执行权限:
chmod +x winetricks
(可选:将文件放在如 /usr/local/bin 的系统文件夹下)

安装 cabextract:
aptitude install cabextract
执行
winetricks mfc42


The recommended way of doing this under Wine is to follow the instructions on the Wine wiki:

  1. download winetricks:
    wget http://www.kegel.com/wine/winetricks
  2. make it executable:
    chmod +x winetricks
    (optional: place the file in a system directory such as /usr/local/bin)
  3. install cabextract:
    aptitude install cabextract
    (actually, I'm not sure it's necessary for fixing the MFC problem, but it's definitely recommended for fixing other Wine problems)
  4. run
    winetricks mfc42

如果提示Cannot find MFC42.DLL. Please, re-install this application,只需把Windows XP下的mfc42.dll和msvcp60.dll拷贝到*.exe同文件夹即可。Windows 7版本的mfc42文件有很多个,同名同姓,而且大小不一功能有别,甚至是还有大量的其它依赖库,版本太高反倒不好调试。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值