Click here to Skip to main content
11,575,923 members (57,156 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ Project
HI

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

Thanks
Posted 8-Apr-13 20:16pm
hor_313652
Comments
Sergey Alexandrovich Kryukov at 9-Apr-13 2:39am
   
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...
—SA
hor_313 at 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 at 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".
—SA
hor_313 at 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 at 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 at 9-Apr-13 6:14am
   
Yeah .. I wana know this t o o .. !!! ?!
Rate this: bad
good
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.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  
Rate this: bad
good
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 .rc file:
<iconid>               ICON                    "<youricon>.ico"
Please have a look at this topic about adding resources to your project:
http://msdn.microsoft.com/en-us/library/3bka19x4%28v=vs.80%29.aspx[^]
  Permalink  
v2

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 305
1 F-ES Sitecore 145
2 OriginalGriff 125
3 Abhinav S 98
4 Dave Kreskowiak 80
0 OriginalGriff 705
1 Sergey Alexandrovich Kryukov 600
2 Abhinav S 438
3 F-ES Sitecore 410
4 Suvendu Shekhar Giri 365


Advertise | Privacy | Mobile
Web03 | 2.8.150603.1 | Last Updated 10 Apr 2013
Copyright © CodeProject, 1999-2015
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