C++: A way to find what is dependant on Visual C++ Redistribute -
i did lots of stuff training project in c++ stackoverflow helped me lot. tried keep "standard" possible cross-platform. using boost here , there, c++11 threading , wrapper uses either win32 sockets or bsd api. , decided compile release friend show off , required msvcpp110.dll installed on computer :(
i had problem in beginning set visual studio compile mfc static library, , fixed initial tests, have no idea i've put code require "my users" install visual c++ redistribute simple console application starts 2 threads , opens tcp socket on 1 of them.
do have tips newbie, how can check bothers system, or way include executable file, i've seen games on computer have aforementioned dll in install directories, work if package dll executable?
thanks suggestion on matter in advance!
ps: after thorough review of code realized might problem
#pragma comment(lib, "ws2_32.lib")
but don't seem find static version of library :u there workaround that. need library wsa startup call
wsastartup(makeword(2,2), &winsock);
you don't need files 1 or 2 mfcxxx , msvcrxxx
check dependencies using http://dependencywalker.com/ , add distrubution
Comments
Post a Comment