B
B
Bizman2015-06-13 07:38:35
Windows
Bizman, 2015-06-13 07:38:35

How to set up a project so that the program works on Win Xp-7 without installation?

There is a console application on Visual Studio 2008. It connects OpenCV and WinSock.
It is necessary that the program run on Windows from XP to 7 without installing additional programs and components (stupidly threw the folder on the computer and launched the exe).
I tried to run the project on XP (it was built on Win7), after which the error "The application was not launched because it was not configured correctly.". Then a solution was found in the project settings to select Runtime Library - Multi threaded (/ MT). Then the application began to require libraries and I safely threw them into the application folder. But then I got this error "The procedure entry point [email protected]@[email protected]@QAEQXZ was not found in the MSVCR100.dll DLL".
How can I set up the project correctly so that such problems do not arise? And is it possible to make the exe monolithic (so that all dlls are inside)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
maaGames, 2015-06-13
@maaGames

I can be wrong, but since about 2005, the studio cannot statically link the runtime of the library. Those. no matter how you set up the project, you will have to install vcredist.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question