Solved

Visual C++ Web-based application

Posted on 2000-02-21
6
141 Views
Last Modified: 2013-11-20
I've created a Visual C++ dialog-based application with normal Windows controls. Is it possible to put this application on the web? How? If not, what are the alternatives?
0
Comment
Question by:dinoltan
  • 3
  • 2
6 Comments
 
LVL 1

Expert Comment

by:jhattingh
Comment Utility
What do you mean by "put it on the web?"
0
 
LVL 11

Expert Comment

by:mikeblas
Comment Utility
> Is it possible to put this application on the web? How?

Yep. Completely rewrite and rearchitect the application as an ISAPI extension, or as an ASP script.  I'm sorry, but there's no magic tool to do the conversion for you.

..B ekiM
0
 

Author Comment

by:dinoltan
Comment Utility
What do you mean by an ISAPI extension?
Do you mean using the ISAPI Wizard available in VC++ and how is it going to communicate with the Web documents?
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 11

Expert Comment

by:mikeblas
Comment Utility
> What do you mean by an ISAPI extension?

I mean, an ISAPI Extension. It's a DLL that loads on the webserver and can be used to provide dynamic content from that website.

 > Do you mean using the ISAPI Wizard available in VC++

You could use that, sure. Or, you could write one from scratch.

 > and how is it going to communicate with the Web documents?

What "web documents" are you talking about?  Seems like you're about to change the scope of your original question.

..B ekiM
0
 

Author Comment

by:dinoltan
Comment Utility
I'm developing a WEB-based application, so of course the web server has to communicate with web documents such as HTML files.
0
 
LVL 11

Accepted Solution

by:
mikeblas earned 70 total points
Comment Utility
Uh, no.

An ISAPI extension doesn't communicate with "Web Documents". I guess you could say an extension would _send_ a "Web Document", but there's no "communications" going on. A "Web Document" isn't an active object and doesn't accept input or output. It's just a stream.

It dynamically generates HTML and sends that code to the client. In MFC code, you'd just use the insertion operator to write the content you want:

   *pCtxt << "<HTML><HEAD><TITLE>Sample Page</TITLE>";
   *pCtxt << "<BODY><i>Here's the body of your response!</i></BODY>";
   *pCtxt << "</HTML>";

If you write a CGI script, you'll actually just use stdio; you could use printf() if you want!

..B ekiM
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Different colored text in ComboBox without Subclassing 8 44
Folder Comparison 12 52
sum13 challenge 24 77
NotAlone Challenge 20 70
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now