- This topic has 7 replies, 2 voices, and was last updated 18 years ago by Dody.
-
AuthorPosts
-
April 10, 2006 at 7:27 pm #191491methodMember
Hi all. i have a few visual c++ program and i wonder how i can make an setup installer for it . My purpuse is to send it to some one who has no knowlege of compiling and using visual stuidio 6 and i want him to run the install and be able to use the applicaion with out needs for him to install compiler and compile the program. Just like commertional programs that we buy. I be happy if an expert tell me what tools i need and how i can achive it.
I am using visual studio version 6 . could u tell me how i can compile the source files into an .exe file? I looked at file menue but i did not see any option to make .exe for vc++ project!!Thanks
April 12, 2006 at 9:58 pm #191498DodyMemberto build your code press F7
you excute the program after compiling press Ctrl + F5April 12, 2006 at 10:01 pm #191497methodMember@Dody wrote:
to build your code press F7
you excute the program after compiling press Ctrl + F5Dody thank u for u reply. where the .exe file will be stored? which folder? furthermore . Is the code protable like java programs or do i need to extra files with it to work when it is used in diffrent mechines?Thanks
April 12, 2006 at 10:19 pm #191496DodyMember@method wrote:
@Dody wrote:
to build your code press F7
you excute the program after compiling press Ctrl + F5Dody thank u for u reply. where the .exe file will be stored? which folder?
Go to the vc++ folder and to My Projects -> the name of your project -> debug, then you will find a .exe file named as your project
furthermore . Is the code protable like java programs or do i need to extra files with it to work when it is used in diffrent mechines?Thanks
it is not like java, because java will work under any other OS, but c++ will work for sure with the same platform you compiled it with, so if you compile a program under windows platform, then you don’t need any extra files and it will be run very smoothly with windows platforms
note: if you compile withthe debug mode, then it will only work with people who have installed the vc++, otherwise you need to compile it with the release mode
April 12, 2006 at 10:25 pm #191495methodMemberDody many many thanks for u nice explantion. Could u tell me how i know i am not in debug modeu when creating my .exe file using visual studio 6.Thanks
April 13, 2006 at 8:59 pm #191494DodyMemberit depends on what are you trying to use, are you using MFC or a normal Win32 consol application ?
April 13, 2006 at 10:34 pm #191493methodMember@Dody wrote:
it depends on what are you trying to use, are you using MFC or a normal Win32 consol application ?
At this moment Win32 consol applications.
April 15, 2006 at 11:14 pm #191492DodyMemberif it is Win32 consol applications then you don’t have to worry about the debug or release modes 🙂
-
AuthorPosts
Related
- You must be logged in to reply to this topic.