Click here to Skip to main content
16,005,181 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Getting a Pointer to DC from Document Pin
Iain Clarke, Warrior Programmer20-Mar-06 8:36
Iain Clarke, Warrior Programmer20-Mar-06 8:36 
GeneralRe: Getting a Pointer to DC from Document Pin
signbit20-Mar-06 17:35
signbit20-Mar-06 17:35 
QuestionSaving from a dialog box Pin
amanoullah20-Mar-06 6:41
amanoullah20-Mar-06 6:41 
AnswerRe: Saving from a dialog box Pin
Richard Kock20-Mar-06 6:53
Richard Kock20-Mar-06 6:53 
AnswerRe: Saving from a dialog box Pin
Maximilien20-Mar-06 6:58
Maximilien20-Mar-06 6:58 
AnswerRe: Saving from a dialog box Pin
Ștefan-Mihai MOGA21-Mar-06 1:11
professionalȘtefan-Mihai MOGA21-Mar-06 1:11 
QuestionObtaining the text from active VC IDE source-code window Pin
Virtek20-Mar-06 6:11
Virtek20-Mar-06 6:11 
QuestionSSL? Pin
dandy7220-Mar-06 5:58
dandy7220-Mar-06 5:58 
Hi all,

I have a Win32/windowless/GUI-less/MFC-less application that currently sends a bit of data through HTTP via winsock.

Essentially, in some buffer, I format the standard HTTP headers in plain text, then the actual data to send, then send the whole thing via winsock, and close the connection. Relatively straightforward.

Now I've been asked to replace this so the program uses HTTPS instead, and to do this I have been provided with nothing more than a link to W3MFC[^], whose goal I suspect was not fully understood by The Powers That Be (who sent me the link).

My understanding of this library is that it essentially derives some classes from MFC's CSocket, and requires the library from OpenSSL.org, to implement some wrapper around all of this.

I'm not allowed to rely on MFC, as my final EXE must remain as small as possible--statically linking is not acceptable, and I don't have the luxury either of being able to rely on an external DLL that may or may not be there. It's just "gotta run" on anything from Win95 onward. This EXE's been in production for nearly 6 years.

So much for this library. I've started looking at OpenSSL itself.

On the server side, .NET is already being used to implement the site itself, provide access to a database, etc. I'm not familiar (yet) with .NET, and can only assume .NET already has some library (built in?) that can handle HTTPS clients...Either way, I'm not the one who's going to implement the server, but I can only assume an SSL server can handle any SSL client, provided the syntax is correct (just like any web server can handle any web browser, provided the requests adhere to the HTTP standard)...

Given the requirements above and this nebulous idea of "replacing HTTP with HTTPS"--where do I even start?
AnswerRe: SSL? Pin
Rob Caldecott20-Mar-06 6:15
Rob Caldecott20-Mar-06 6:15 
GeneralRe: SSL? Pin
dandy7220-Mar-06 7:24
dandy7220-Mar-06 7:24 
AnswerRe: SSL? Pin
valikac20-Mar-06 10:14
valikac20-Mar-06 10:14 
GeneralRe: SSL? Pin
dandy7220-Mar-06 10:51
dandy7220-Mar-06 10:51 
Questiondll Pin
ss200620-Mar-06 5:57
ss200620-Mar-06 5:57 
AnswerRe: dll Pin
toxcct20-Mar-06 6:03
toxcct20-Mar-06 6:03 
Questionoverloading IpropertyPage part of COlePropertyPage Pin
norbert_barbosa20-Mar-06 5:39
norbert_barbosa20-Mar-06 5:39 
Questionoverloading IpropertyPage part of COlePropertyPage Pin
norbert_barbosa20-Mar-06 5:30
norbert_barbosa20-Mar-06 5:30 
QuestionAnother example of variable number of parameters (using ellipsis)? Pin
Link260020-Mar-06 5:25
Link260020-Mar-06 5:25 
AnswerRe: Another example of variable number of parameters (using ellipsis)? Pin
toxcct20-Mar-06 5:34
toxcct20-Mar-06 5:34 
GeneralRe: Another example of variable number of parameters (using ellipsis)? Pin
Link260020-Mar-06 5:55
Link260020-Mar-06 5:55 
GeneralRe: Another example of variable number of parameters (using ellipsis)? Pin
toxcct20-Mar-06 6:01
toxcct20-Mar-06 6:01 
GeneralRe: Another example of variable number of parameters (using ellipsis)? Pin
Link260020-Mar-06 6:12
Link260020-Mar-06 6:12 
GeneralRe: Another example of variable number of parameters (using ellipsis)? Pin
toxcct20-Mar-06 6:17
toxcct20-Mar-06 6:17 
GeneralRe: Another example of variable number of parameters (using ellipsis)? Pin
Link260020-Mar-06 6:21
Link260020-Mar-06 6:21 
AnswerRe: Another example of variable number of parameters (using ellipsis)? Pin
Michael Dunn20-Mar-06 7:59
sitebuilderMichael Dunn20-Mar-06 7:59 
AnswerRe: Another example of variable number of parameters (using ellipsis)? Pin
Stephen Hewitt20-Mar-06 11:44
Stephen Hewitt20-Mar-06 11:44 

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.