1

I've been desperatly trying to get my School Project to run on those crappy school pcs, but i am not able to resolve the issue of missing Dll's.

My Project is set to "\MT" as Runtime Library and I've set MFC to static linking. At first the MSVCP140.dll was missing, so i copied it in the folder with the .exe, but I'm not able to do that with before mentioned DLL.

Unfortunately, I can't install any runtimes or redists on the school pcs. (They run windows 7 with the latest updates)

EDIT: I've did exactly what is recommended in all stackexachange answers, and it still doesn't work, so no, this is no duplicate.

Any help is appreciated! (it's my first stackoverflow question ^^)

otto001
  • 11
  • 2
  • Your options are 1) install the required DLLs on the target computer, or 2) statically link **all** dependencies into the executable. That's the two answers to the other question, and also the only options you have. – Bo Persson Dec 19 '16 at 23:24
  • @BoPersson then maybe some explicit instructions for Visual Studio would be helpful? They make it easy to statically link MFC but I don't recall seeing an option for the runtime. – Mark Ransom Dec 19 '16 at 23:28
  • Well the thing is that I already linked **everything** (even SDL, and i commented out every other dependency /library) statically and it still does not work. I literally did all tutorials or guides on that during the past 3 days. I hoped one of you guys have had this before. – otto001 Dec 20 '16 at 00:20
  • @otto001 - And I have always used option 1 in cases like this - install what is required. I have no step-by-step guide for option 2 on Windows 7. – Bo Persson Dec 20 '16 at 07:29

0 Answers0