How to connect a C++ library without the DLL file?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
28 views
I want to use the standard library in Visual Studio. When I moved my library, I definitely need a folder with the output EXE file to put the DLL library file. Is there any way to do without it, if I want to output only the. EXE file?
by | 28 views

3 Answers

0 like 0 dislike
Of course.
Is called static linking - everything is embedded in the exe file.
The first thing that the search engine got:
\rhttps://social.msdn.microsoft.com/Forums/vstudio/e...
by
0 like 0 dislike
To assemble a program without an dll, the main thing was lib file from the dll and the header files for static linking.
In the case of dynamic linking (using LoadLibrary() and GetProcAddress()) and don't need the lib file.
What kind of binding you used - you know better.
DLL need in the execution phase of the program. In the case of static linking without the DLL the program will not load with the corresponding error from the OS. In the case of dynamic linking, LoadLibrary() will fail if the dll is not available.
by
0 like 0 dislike
The use of dynamic libraries is good, to be compiled with much less,and sin to refuse them, but if you want the source on the floor of the gig, then you Google about static linking
by

Related questions

0 like 0 dislike
4 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked May 2, 2019 by KaZ112
0 like 0 dislike
5 answers
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
36,682 users