Hi all!
This is w.r.t the thread How to make my C++ program executable on other computers
I didn't want to continue the discussion there, so i created the new thread. I had faced the same problems in the past. I needed some clarification on the following:
1)The option shown in the video [http://www.youtube.com/watch?v=AvrjQtFBJvk] creates a statically linked executable. Am i right about that?
2) I had tried this approach when i had used certain external libraries.[i don't remember which one though]. I had linked my exe with the library. Everything worked fine with the default[/MDd] but i would have to ship all the necessary DLLs with it. So, i thought of creating a stand-alone exe.
However, when i had tried the approach mentioned in the video, i used to get linker errors. I never actually looked further into it. I was reminded of the problem when i saw this thread.
Now, my question is, when this option is chosen, the linker actually puts all your library code into your executable right?[thus statically linking it]
Please let me know if anyone else has actually tried shipping executables this way[as opposed to the common way of actually shipping DLLs with the program].
Thanks a lot!
PS: Sorry for such a big post :)