Debian Sid Wine 4.0 MFC40.dll problem

Questions about Wine on Linux
Locked
bda65
Newbie
Newbie
Posts: 2
Joined: Sat May 11, 2019 3:46 am

Debian Sid Wine 4.0 MFC40.dll problem

Post by bda65 »

Hi all,

I'm trying to install kenton Spion Doctor editor https://www.kentonuk.com/downloads/cf_editors.shtml.
I've started to use wine with:

Code: Select all

WINEARCH=win32 WINEPREFIX=~/.wine32 winecfg
Installed vsd103.exe:

Code: Select all

WINEARCH=win32 WINEPREFIX=~/.wine32 wine vsd103.exe
The error is with MFC40.DLL not found:

Code: Select all

An error occurred while registering 'C:\Program Files\Common Files\VCS\VSLIDE32.OCX'
In terminal:

Code: Select all

002f:err:module:import_dll Library MFC40.DLL (which is needed by L"C:\\Program Files\\Common Files\\VCS\\VSLIDE32.OCX") not found
I've tried to install MFC40.DLL with winetricks:

Code: Select all

WINEARCH=win32 WINEPREFIX=~/.wine32 ./winetricks mfc40
But i always got the same error.

I've triyed to ignore the error when installing. When I start:

Code: Select all

WINEARCH=win32 WINEPREFIX=~/.wine32 wine ~/.wine32/drive_c/Program Files/Virtual Spin Doctor/VSpinDoctor.exe
I've got:

Code: Select all

Run-time error '339':
Component 'MIDIFL32OCX' or one of its dependencies not correctly registered: a file is missing or invalid.
In terminal:

Code: Select all

0009:err:ole:CoGetClassObject class {291f0440-8437-11cf-840f-444553540000} not registered
0009:err:ole:CoGetClassObject class {291f0440-8437-11cf-840f-444553540000} not registered
0009:err:ole:CoGetClassObject no class object {291f0440-8437-11cf-840f-444553540000} could be created for context 0x3
0009:err:ole:CoGetClassObject class {291f0440-8437-11cf-840f-444553540000} not registered
0009:err:ole:CoGetClassObject class {291f0440-8437-11cf-840f-444553540000} not registered
0009:err:ole:CoGetClassObject no class object {291f0440-8437-11cf-840f-444553540000} could be created for context 0x3
0009:err:ole:TLB_ReadTypeLib Loading of typelib L"msdatsrc.tlb" failed with error 2
0009:err:ole:userdefined_to_variantvt Could not get typeinfo of hreftype a9 for VT_USERDEFINED, hr = 0x80029c4a
0009:err:ole:TLB_ReadTypeLib Loading of typelib L"msdatsrc.tlb" failed with error 2
0009:err:ole:userdefined_to_variantvt Could not get typeinfo of hreftype a9 for VT_USERDEFINED, hr = 0x80029c4a
Any help on this?
bda65
Newbie
Newbie
Posts: 2
Joined: Sat May 11, 2019 3:46 am

Re: Debian Sid Wine 4.0 MFC40.dll problem

Post by bda65 »

I've now registered mfc40.dll and msvcrt40.dll manually as winetricks doesn't add msvcrt40.dll.
I've add an issue on winetricks https://github.com/Winetricks/winetricks/issues/1229

Now the Editor work perfectly.
Locked