002c:err:module:import_dll Loading library nnn.dll (which is needed by L"Z:\\home\\pfga\\app\\sss.exe") failed (error c000012f).
002c:err:module:import_dll Loading library nnn.dll (which is needed by L"Z:\\home\\pfga\\app\\vvv.dll") failed (error c000012f).
002c:err:module:import_dll Library vvv.dll (which is needed by L"Z:\\home\\pfga\\app\\sss.exe") not found
002c:err:module:attach_dlls Importing dlls for L"Z:\\home\\pfga\\app\\sss.exe" failed, status c0000135
Mentioned dlls are in the same directory near the exe, but wine stubbornly doesn't see (or like) them.
Tried to remove my .wine - didn't help
What's going on ?
Error c000012f means Wine can't load the DLL (nnn.dll) because the he required Microsoft Visual C++ Redistributables files can't be found or there is a 64 - 32 bit mismatch.
- run winecfg
- in the menu that appears select "Add application..." (Assuming it isn't already listed)
- Navigate to your executable and select it
- Click on the tab marked "Libraries"
- You should see a dropdown labeled "New override for library". If nnn.dll is a system DLL, you can select it from this. Otherwise explicity type it into the dropdown and click "Add"
- nnn.dll should now be in the list labeled "Existing overrides." Highlight it and click "Edit..."
- Set the radio menu to "Native, then Builtin"
- Click apply
This will tell WINE to use the DLL matching "nnn.dll" in WINEPREFIX/drive_c/windows/system32, or in the same directory as the exe if it exists there. So basically the same way Windows does it.