Generate exe

Hi

i'm using visual studio 15 and finish my first application.. is a Visual C++ Win32
i using 3 differents libs..

i linked those 3 libs in my project..

When finish, change for Release version and Build my solutions, it worked fine..
but when i try to execute my .exe file, it throws me several erros of .dll files is missing

is there a way to build my solution and include all dll files that i use in my application in the exe ?

Sorry about my english

att
You say the solutions build successfully so that means you've got all the developer headers and libraries you need. But when you run it, it fails and says you don't have the dll runtime libraries. This means you've got the developer libraries for whatever you're using and can compile against them but you can't actually use them because you've not got the runtime libraries.

If you do have the runtime libraries for each one then you need to put the dll files that the program requires from each runtime library into the same folder as your executable program.
OP wrote:
is there a way to build my solution and include all dll files that i use in my application in the exe

This is referred to as static linking. Some libraries don't support it. What are you trying to link to?
Last edited on
i'm linking 3 libs :
liblinphone( http://www.linphone.org/technical-corner/liblinphone/overview ),
JsonCPP( https://github.com/open-source-parsers/jsoncpp ) and
LibCurl( http://libcurl.org/ )


when i place all the missing dll files in the folder of the exe, it throw me other msg box with error "0xc00007b"
I wasn't familiar with the error code so after looking at various different articles mentioning that error message they all had something to do with 32-bit and 64-bit architectures. It could be a problem with trying to run 64-bit on a 32-bit machine but not in this case. In this case I would ask what you're compiling the program as and what architectures the runtime dll files are too.
was giving that error "0xc00007b" for dll, i was placing one wrong dll...
now i'm placing all 32bit dlls in folder, and throw me many ms-win-crt-name.dll..
We need the entire error OP, not just the file that is associated with it. What you are doing is like telling your mechanic that there is something wrong with your engine. We need more details so please copy and paste the error in its entirety if you can.
Topic archived. No new replies allowed.