Solved

Using CInternetSession for asyncronious transfers

Posted on 2001-07-01
2
360 Views
Last Modified: 2013-11-20
In the MSDN it is described that to use CInternetSession for asyncronious transfers, you call the constructor with dwFlags set to include INTERNET_FLAG_ASYNC. However, the first line of the CInternetSession constructor is:
ASSERT((dwFlags & INTERNET_FLAG_ASYNC) == 0);

Can anyone explain why this is, and how to make CInternetSession work asyncronious, without getting an assertion error ?
0
Comment
Question by:Morten from Eliten
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 50 total points
ID: 6242978
See http://support.microsoft.com/support/kb/articles/Q164/9/83.ASP ('HOWTO: Do Asynchronous WinInet with MFC Classes') - you will probably not like it, though...
0
 

Author Comment

by:Morten from Eliten
ID: 6244483
Yeah that figures. The article generally states that MFC does not support Asyncronious transfers.

You could then wonder why they bother to describe how to do an asyncronious transfer using MFC, when they allready know that it can't be done.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

743 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

12 Experts available now in Live!

Get 1:1 Help Now