err:module:import_dll Loading library MSVCP140.dll

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
willhw
Newbie
Newbie
Posts: 1
Joined: Tue Jun 28, 2016 6:47 pm

err:module:import_dll Loading library MSVCP140.dll

Post by willhw »

I'm having trouble loading the msvcp140.dll. The problem started when I migrated a project from 32-bit to 64-bit. I've swapped out my dlls from 32 to 64-bit so I'm not sure what the problem is.
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: err:module:import_dll Loading library MSVCP140.dll

Post by spoon0042 »

Some reading material, if you don't know already: :)
https://wiki.winehq.org/Winetricks
https://wiki.winehq.org/FAQ#Wineprefixes

If your winetricks is up to date and you made a 64-bit wineprefix (you probably did unless you set WINEARCH when making it, and everything actually is 64-bit, etc.) then 'winetricks vcrun2015' will (try to) install both 32- and 64-bit versions.

(Further info: just moving around DLLs may not be enough, overrides may need to be set in winecfg but in general using winetricks will do that automatically.)
Locked