Click here to Skip to main content
15,897,891 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: How to read words from a notepad application in VC++ program Pin
Eytukan25-Apr-06 4:53
Eytukan25-Apr-06 4:53 
AnswerRe: How to read words from a notepad application in VC++ program Pin
lekshmipriya25-Apr-06 5:03
lekshmipriya25-Apr-06 5:03 
GeneralRe: How to read words from a notepad application in VC++ program Pin
Eytukan25-Apr-06 5:28
Eytukan25-Apr-06 5:28 
AnswerRe: How to read words from a notepad application in VC++ program Pin
Cedric Moonen25-Apr-06 5:08
Cedric Moonen25-Apr-06 5:08 
Questiondemo exe in web site Pin
akram mirzaei25-Apr-06 3:30
akram mirzaei25-Apr-06 3:30 
AnswerRe: demo exe in web site Pin
Aqueel25-Apr-06 3:50
Aqueel25-Apr-06 3:50 
GeneralRe: demo exe in web site Pin
David Crow25-Apr-06 4:08
David Crow25-Apr-06 4:08 
GeneralRe: demo exe in web site Pin
Rilhas25-Apr-06 7:14
Rilhas25-Apr-06 7:14 
Well, in fact you didn't mention much.

I'll assume that what you want is:

1) Install the application in the web server
2) Make it possible for people to download it
3) Make it so people can run your application on their environment

To install the application in your web server you shouldn't need any special conditions. But, in fact, you don't say much about this. Do you host your web site? Did you make the site (HTML pages)?

Then, after clarifying what you want to do about point 1), you need to determine how people can reach your application. Installing the "demo.exe" file on a web page is not difficult, and if the users click on the link they will, typically, see a dialog box asking them if they want to execute or download the file.

If this were true for all people then point 2) above was not necessary, since the solution would be trivial. But the most recent operating systems have all kinds of firewalls and protection mechanisms that block executables, or make it much more difficult for people to download and execute them. Some antivirus programs that the user may have installed make it even more difficult to download your "demo.exe" and run it.

So, you may consider several options for your "demo.exe". The simplest one could be to wrap your application in a ZIP file, since these files are much more accessible. So, people would download "demo.zip", open it, and execute it. Although this makes it easier to get through some protections it is not full proof, and the user must have the ZIP (or UnZip) application installed on their system.

And there is also the corporate users. Anyone trying to download your application from within the company where they work will probably be blocked, even if you put the application inside a ZIP file. This will depend on the security policies of the company, and how strongly they enforce them.

Number 3) above concerns the client-side requirements. If you compile your application as "Release" then most Windows users can run your application, since all Windows contain most Release DLL's. If you distribute your program in Debug then the users may run into problems, since Debug DLL's are not, typically, included in Windows installations.

The above statement is not true for any .NET code. This code requires a virtual machine of about 22 MB to be installed in the client. Not all Windows installations have this, especially those before Windows XP. I'm not sure which have it and which do not, but you can google for this information. However, the statement is true for MFC applications, so you don't need to statically link. Your application is not MFC? Feel free to ignore the previous sentences...

Then, there is the problem of compatibility with very old operating systems, like Windows 95. This, of course, depends on the features your applications uses. For a simple dialog based GUI with some buttons you should be fine.


So, as you can see, your post provides very little (or no) information for a topic that is relativelly complex. You may want to ellaborate a little bit. Please take into account that downloading executables is considered to be the most dangerous way of spreading viruses, and people are becoming much more aware to that. I would, probably, not download your executable simple because it is an executable.

To get applications to run on the client machine after being downloaded from the WEB you should consider JAVA. It is not a hard language to learn, and it is considered much safer than executable binaries. So, the download and execution process become very simple.


GeneralRe: demo exe in web site Pin
David Crow25-Apr-06 9:44
David Crow25-Apr-06 9:44 
GeneralRe: demo exe in web site Pin
Aqueel25-Apr-06 17:39
Aqueel25-Apr-06 17:39 
GeneralRe: demo exe in web site Pin
David Crow26-Apr-06 2:46
David Crow26-Apr-06 2:46 
GeneralRe: demo exe in web site Pin
akram mirzaei28-Apr-06 20:18
akram mirzaei28-Apr-06 20:18 
GeneralRe: demo exe in web site Pin
Rilhas28-Apr-06 23:13
Rilhas28-Apr-06 23:13 
GeneralRe: demo exe in web site Pin
Aqueel25-Apr-06 17:16
Aqueel25-Apr-06 17:16 
AnswerRe: demo exe in web site Pin
Cedric Moonen25-Apr-06 4:46
Cedric Moonen25-Apr-06 4:46 
Questiondemo exe in web site Pin
akram mirzaei25-Apr-06 3:29
akram mirzaei25-Apr-06 3:29 
AnswerRe: demo exe in web site Pin
Rilhas25-Apr-06 7:22
Rilhas25-Apr-06 7:22 
AnswerRe: demo exe in web site Pin
Aqueel25-Apr-06 17:43
Aqueel25-Apr-06 17:43 
QuestionPerformance issues due to use of CMemFile for serialization Pin
senthaaa25-Apr-06 3:18
senthaaa25-Apr-06 3:18 
AnswerRe: Performance issues due to use of CMemFile for serialization Pin
YaronNir25-Apr-06 4:05
YaronNir25-Apr-06 4:05 
GeneralRe: Performance issues due to use of CMemFile for serialization Pin
senthaaa10-May-06 20:33
senthaaa10-May-06 20:33 
QuestionCapturing Browser data in Windows Application Pin
nw.knowledge25-Apr-06 3:13
nw.knowledge25-Apr-06 3:13 
AnswerRe: Capturing Browser data in Windows Application Pin
Naveen25-Apr-06 3:21
Naveen25-Apr-06 3:21 
QuestionCopyFile slow over network Pin
jayart25-Apr-06 1:55
jayart25-Apr-06 1:55 
AnswerRe: CopyFile slow over network Pin
YaronNir25-Apr-06 2:04
YaronNir25-Apr-06 2:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.