Click here to Skip to main content
13,510,005 members
Rate this:
Please Sign up or sign in to vote.
See more:
I have a VC++ project(solution) in VS210 . It works well when I run it in vs .
Now , I want to build a demo for my project that the other users can run it with double-clicking on execute icon .

How can I build that executable icon for my project . I think it calls demo

Posted 8-Apr-13 20:16pm
Do you think that the problem of demo is reduced to the problem of "executable icon"? You are missing something basic, which a regular user should understand, not even a developer...
hor_313 9-Apr-13 3:32am
probably the basic problem is my English language
My question is simple , I wrote a program in VC++ , and now I want to make .exe icon for it to run it out of VS
Sergey Alexandrovich Kryukov 17-May-13 10:29am
I could not see your comment, because you did not reply to mine, but put your comment as peer, as a comment to your question. That's why I did not get notification and could not pay attention for your reply.
If you want people to get notification on your comments, use "Reply".
hor_313 9-Apr-13 3:37am
In this site every articles at least have 2 files for download . 1- the source file that I have it . 2- the demo file that I want to know how can I make it for my source?
Richard MacCutchan 9-Apr-13 3:43am
It gets built automatically; what do you think you are executing in Visual Studio? Just go to the solution directory and look in the Debug or Release sub-directories for the appropriate executable file.
tech.nerd 9-Apr-13 6:14am
Yeah .. I wana know this t o o .. !!! ?!
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

From your question I think u want to deliver a package for your project. When you are running project using vs IDE it will work fine because vs IDE take care and find all the DLLs for your project. So if u want to create demo u need to deliver all the necessary DLLs with your project executable. You can use "Dependency Walker" to find necessary Dlls for your exe.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Rate this: bad
Please Sign up or sign in to vote.

Solution 3

Create resource section in your project, add new Icon to your Resources and ensure that the following line is in you <application>.rc file:
<iconid>               ICON                    "<youricon>.ico"

Please have a look at this topic about adding resources to your project:[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.180417.1 | Last Updated 10 Apr 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100