Sell your code

I wrote few line of code to help my friend but the problem is i dont know how make it work on his computer with me giving my source code. I all ready tried to give him *.exe flie located on Debug but it need a dll file to work with that code and i dont see any dll file on the foler where my source code ( *.cpp)

Please can any one help me slove this problem
closed account (zwA4jE8b)
Don't distribute debug applications, build the release.
Also if you use the /MT tag you won't have to distribute msvcr*.dll
how do i built release? Also I wrote this code by using Visual basic
You seem to be really confused about a lot of things.

First, this is a C++ forum. People assume you are talking about C++, and the responses given you provide information that applies to C++.

(And you did explicitly say that your code was in C++ source files! Now you are saying it is VB. I personally don't remember anything much about VB.)

I do remember that VB has some pretty extensive documentation about compiling and distributing applications and components. Make sure you go to your Project/Compile menu and choose "Release" mode, and look around for other options about dependencies. If that fails, you will have to read the help documentation, and or find a VB forum.

Unless someone else here just happens to know the answer, you are out of luck on this forum. Sorry!
Last edited on
i am sorry that i sound confused but I wote my code on Microsoft Visual C++ 2010 Express. Thanks to you I was able to get "release" from my code but i dont know how to get msvcr*.dll file or if u can teach me hoe to applt /MT tag
Thanks
closed account (zwA4jE8b)
in the solution explorer right click on your project ->properties ->configuration properties -> c/c++ ->code generation -> Runtime Library ->Multi-threaded (/MT)

Lol I had to open visual studio (the first time in months) to get that. GO ECLIPSE!
Last edited on
Topic archived. No new replies allowed.