Solved

CInternetSession

Posted on 1997-02-26
3
308 Views
Last Modified: 2013-11-20
Does anyone have any examples on using the
asynchronous feature of the CInternetSession in MFC?

(reply by email preferred: lc16@sales.nyu.edu)
Thanks!
0
Comment
Question by:lc16
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
mbhakta earned 200 total points
ID: 1300127
Try the MSDN. If you don't have subscription try in www.microsoft.com.
0
 
LVL 4

Expert Comment

by:mbhakta
ID: 1300128
Also try the ActiveX SDK CD.
0
 
LVL 11

Expert Comment

by:mikeblas
ID: 1300129
Don't go on a wild goose chase: MSDN will be of no help.

CInternetSession (and all the related classes in MFC) don't support INTERNET_FLAG_ASYNC. You can do a bunch of work to get the classes to work in asynchronous mode, but you're probably better off writing your code in a separate thread without using the asynchronous flag and not working around the code in the classes.

For the correct answer, see the Microsoft KnowledgeBase.  The article at http://www.microsoft.com/kb/articles/q164/9/83.htm will give you the information you need to make an educated decision.

.B ekiM

0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
xyBalance chalenge 58 93
List out all word 7 296
Can not remove SSL certificate on iPhone 6 - iOS10.2 12 591
unix example issues 18 91
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

832 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