windows - Win 7, 64 bit, dll problems -


i have problem our executable. i'm running c++ 32-bit executable on win-7 64-bit development box has ms applications (visual studio 2008 + 2010, tfs, sdk, ms office)... , still running fine.

now got client installation of same program , wwas asked test clean win-7 installation. got win-7 64-bit vm ware , updated win-7 sp 1 (the same version developer box tunning). while on developer box fine program not work vw ware (30 days trial) box.

the x86 dependency walker telling me following dlls missing:

  • api-ms-win-core-com-l1-1-0.dll
  • api-ms-win-core-winrt-error-l1-1-0.dll
  • api-ms-win-core-winrt-l1-1-0.dll
  • api-ms-win-core-winrt-robuffer-l1-1-0.dll
  • api-ms-win-core-winrt-string-l1-1-0.dll
  • api-ms-win-shcore-scaling-l1-1-0.dll
  • dcomp.dll
  • gpsvc.dll
  • ieshims.dll

i googled api-ms-win-... dlls , found should part of win-7 (some sites claiming belong win-8 , win 2012 server though).

i tried suggested fixes found, are:

  • running 'sfc /scannow'
  • installing visual studio 2008 sp1 runtime executables

but didn't solve anything. :-(

side note: development box not have them either, , not seem need them. example user32.dll on box not link against 1 of those, while installation on vm ware does.

any idea on how fix issue? tried find suitable download / fix on ms pages failed.

regards, thomas


after solving issue wanted report found out, , can't post answer because question has been closed.

actually dlls reported missing dependency walker tool, nameley

* api-ms-win-core-...   

type dlls not part of actual problem.

in case registration of 3 ocx files missing , after fine, dependency walker tool still listed same dlls before when program running fine now.

the gist of it: elsewhere stated, tool bit dated , not work newer os. keep eye open , don't mislead missing 'api-ms-win-core-com-l1-1-0.dll', ... problem lies entirely elsewhere.

this problem related missing visual studio "redistributable package." not obvious 1 missing based on dependency walk, try 1 corresponds compiler version first , see if things run properly:

vs 2015

vs 2013

vs 2010

vs 2008

i ran problem because using vs compilers, not full vs environment.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -