Thread: how do i release my program

  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    13

    how do i release my program

    i just finished writing a program. i want to give it to my friend so he can see it. he dose not have a compiler or anything how do i turn this stuff that i have writen it to something i can burn on a cd. i have microsoft visuial c++ .net. i looked in the manual it said something about a make file. thanks

  2. #2
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    You can usually just give him your executable. If you use the .NET framework, or other dlls in your program, you might have to give him those dlls. There are usually rules about how you distribute third-party dlls, so if you think you'll need to add them to the cd, make sure to find out about the specifics.

    I would just check to see if the executable works by itself on his machine. Also, generally the Release configuration is more appropriate than the Debug configuration for giving to others.

  3. #3
    Registered User
    Join Date
    May 2005
    Posts
    28
    As Daved said just burn it to a disc. You dont need a fancy installer or anything do you? If not, just tell him to browse to his CD Drive and double clickt he exe.

  4. #4
    Registered User
    Join Date
    Apr 2003
    Posts
    2,663
    A release version of your program won't have all the debug info that Visual C++inserts into a program, so the file size will be smaller. The way you Build a release version in Visual C++ 6.0 is to click on Build/Set Active Configuration and then choose release, so there should be something similar for your compiler.

    Then, what you are after is a file with a .exe extension. If you get out of Visual C++ and navigate to where you are saving your programs, you should see a bunch of project folders. Inside the project folder for your program, there will be a bunch of different files along with some other folders. One of the sub folders might be called Debug and another called Release. Inside each of those folders, there will be various files along with a .exe file. You want the .exe file in the Release folder.

  5. #5
    Registered User
    Join Date
    Aug 2003
    Posts
    470
    i just finished writing a program. i want to give it to my friend so he can see it. he dose not have a compiler or anything how do i turn this stuff that i have writen it to something i can burn on a cd. i have microsoft visuial c++ .net. i looked in the manual it said something about a make file. thanks
    Use Microsoft Visual c++ to create an installation program. In how to do it, each version is different, I think, but it ought to include the right dlls for your project. (Try to find a tutorial on the Internet appropriate to your MSVC++ version.) For console programs, however, you might try releasing only the executable in your project directory's release or debug folder.

  6. #6
    x4000 Ruski's Avatar
    Join Date
    Jun 2002
    Location
    Outer Space!
    Posts
    542
    I use Indigorose Setup Factory 6.0 for installation files, works fine and can scan files for dependencies and dlls and stuff.. pretty nice layout too
    what does signature stand for?

  7. #7
    Registered User
    Join Date
    Oct 2005
    Posts
    8
    set it to release (at the top of ms visual studio it should be set to debug)then check the release directory for yourprogram.exe or .dll
    if you dont know the directory just search your system for release or yourprogram.exe

  8. #8
    Registered User
    Join Date
    Oct 2005
    Posts
    13
    i made an .exe and i gave it to him but i does not work on any computers but my own. and mine is the only one with c++. so what is a dll?

  9. #9
    Registered User
    Join Date
    Apr 2003
    Posts
    2,663
    i made an .exe and i gave it to him but i does not work on any computers but my own. and mine is the only one with c++. so what is a dll?
    Do you have a student or learning edition of your compiler? If so, you can't distribute programs unless you uprgrade to a professional edition.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 02-21-2008, 10:39 AM
  2. Using variables in system()
    By Afro in forum C Programming
    Replies: 8
    Last Post: 07-03-2007, 12:27 PM
  3. Encryption program
    By zeiffelz in forum C Programming
    Replies: 1
    Last Post: 06-15-2005, 03:39 AM
  4. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM