Solved

Using CInternetSession for asyncronious transfers

Posted on 2001-07-01
2
365 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

816 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

13 Experts available now in Live!

Get 1:1 Help Now