[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

HTTPS Implementation in VC++

Posted on 2000-04-18
6
Medium Priority
?
586 Views
Last Modified: 2008-03-03
I have done HTTP component in vc++ which can get any file from webserver and put any file into webserver.

But i want to implement SSL ie..,HTTPS.

Please help in it with ideas and samples.

Prabhakar Reddi S
0
Comment
Question by:prabhakarreddy
  • 3
  • 2
6 Comments
 
LVL 11

Expert Comment

by:mikeblas
ID: 2727695
I would just use WININET.DLL--it handles HTTPS just fine.

..B ekiM
0
 

Accepted Solution

by:
lbelkind earned 150 total points
ID: 2811916
As an extension to the posted comment.
You should try using WinInet library (available from Microsoft). they have very simple interface, which can be used both for HTTP and HTTPS (seamlessly). All MFC HTTP Classes are based on this implementation, i.e. it is stable and working.
0
 
LVL 11

Expert Comment

by:mikeblas
ID: 2863338
An extension?  How did your "answer" provide any more information than I did?  As far as I can tell, you're just poaching.

..B ekiM
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 

Expert Comment

by:jenkins_pete
ID: 2922229
Here is more of an answer but I am not looking for points but rather more insight from mikeblas.

From the MS KB:

http://support.microsoft.com/support/kb/articles/Q168/1/51.ASP

Using the code example HTTP connections work without error.  When specifing INTERNET_FLAG_SECURE and INTERNET_DEFAULT_HTTPS_PORT as specified the application hangs on execution.  Anyone have a code snippet or see what is wrong with this KB articles code?

Thanks!

email jenkins_pete@hotmail.com if needed.
0
 
LVL 11

Expert Comment

by:mikeblas
ID: 2925524
> what is wrong with this KB articles code?

The code is incomplete, but what it shows is not incorrect.

 > I am not looking for points but rather more insight from mikeblas.

Huh?  Then, shoudln't you open your own question and initiate a new discussion?

..B ekiM
0
 

Expert Comment

by:jenkins_pete
ID: 2933592
New topic posted: "MS KB code incomplete"
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses

590 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