|
-
April 16th, 1999, 02:30 PM
#4
Re: CInternetSession OnStatusCallback, usage
Hi Vijay,
m_pInetSession = new CDerivedInternetSession("Test1", 1, INTERNET_OPEN_TYPE_DIRECT,NULL,
NULL ,INTERNET_FLAG_ASYNC );
you do not pass "Test1" as the first parameter to the constructor,instead pass NULL so that framework can use AfxGetApp() to get
your application name.And also,if you use asynchronous flag INTERNET_FLAG_ASYNC,you have chance to get
the error message "Overlapped I/0 in progress.
Just declare the session object as
m_pInetSession = new CDerivedInternetSession;
you are connecting to which FTP server? you have your own?.
Hope this info. can help you.
Bye
S.Subbi.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|