Click here to Skip to main content
16,004,861 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to handle click event on icon.... Pin
Mark Salsbery18-Jul-07 19:51
Mark Salsbery18-Jul-07 19:51 
AnswerRe: How to handle click event on icon.... Pin
Hans Dietrich18-Jul-07 6:10
mentorHans Dietrich18-Jul-07 6:10 
GeneralRe: How to handle click event on icon.... Pin
Super Hornet18-Jul-07 6:38
Super Hornet18-Jul-07 6:38 
GeneralRe: How to handle click event on icon.... Pin
Hans Dietrich18-Jul-07 7:50
mentorHans Dietrich18-Jul-07 7:50 
QuestionActive Movie Window appearing while using Video Mixing Renderer 9 in windowless mode Pin
djin9418-Jul-07 4:21
djin9418-Jul-07 4:21 
QuestionHandling Double-Click in the header-control of a CListCtrl Pin
GuyM18-Jul-07 4:08
GuyM18-Jul-07 4:08 
AnswerRe: Handling Double-Click in the header-control of a CListCtrl Pin
James R. Twine18-Jul-07 7:06
James R. Twine18-Jul-07 7:06 
QuestionProblem with internet file download Pin
sasi8318-Jul-07 3:28
sasi8318-Jul-07 3:28 
Hai evryone,

I have a problem with internet file download i.e.,synchronous download.this is how it is..

1. I have an internet file which is to be downloaded using multiple threads
(single file/same file).I'm using UserInterfaceThreads where in i pass
parameters such as starting position of a file, temp name of the file
etc.. problem is i'm unable to download to diff files(threads)
synchronously.i.e., files are downloaded one thread after the other.

code is given below...

parameter fPos: the start position of the file to be downloaded which
is initilized when thread is created.

m_hHttpFile = HttpOpenRequest(m_hHttpConnection, "GET", ServerFile,
NULL, NULL, ppszAcceptTypes, INTERNET_FLAG_RELOAD
|INTERNET_FLAG_KEEP_CONNECTION, NULL);

::InternetSetFilePointer (m_hHttpFile,fPos,0, FILE_BEGIN, 0);

do
{
::InternetReadFile(m_hHttpFile, szReadBuf, TRANSFER_SIZE,
&dwBytesRead))
...... write in to my temp files..

}
while(sum
AnswerRe: Problem with internet file download Pin
LoveCPlusplus18-Jul-07 16:57
LoveCPlusplus18-Jul-07 16:57 
Questionerror in SendMessage Pin
neha.agarwal2718-Jul-07 2:32
neha.agarwal2718-Jul-07 2:32 
AnswerRe: error in SendMessage Pin
David Crow18-Jul-07 2:33
David Crow18-Jul-07 2:33 
GeneralRe: error in SendMessage Pin
neha.agarwal2718-Jul-07 18:00
neha.agarwal2718-Jul-07 18:00 
GeneralRe: error in SendMessage Pin
David Crow19-Jul-07 2:42
David Crow19-Jul-07 2:42 
GeneralRe: error in SendMessage Pin
Hamid_RT25-Jul-07 8:40
Hamid_RT25-Jul-07 8:40 
QuestionDifferent Output Pin
rajeevktripathi18-Jul-07 2:25
rajeevktripathi18-Jul-07 2:25 
AnswerRe: Different Output Pin
Mike Dimmick18-Jul-07 2:30
Mike Dimmick18-Jul-07 2:30 
GeneralRe: Different Output Pin
John R. Shaw18-Jul-07 3:40
John R. Shaw18-Jul-07 3:40 
GeneralRe: Different Output Pin
iddqd51518-Jul-07 5:53
iddqd51518-Jul-07 5:53 
GeneralRe: Different Output Pin
John R. Shaw18-Jul-07 6:19
John R. Shaw18-Jul-07 6:19 
GeneralRe: Different Output Pin
iddqd51518-Jul-07 6:26
iddqd51518-Jul-07 6:26 
GeneralRe: Different Output Pin
John R. Shaw18-Jul-07 6:41
John R. Shaw18-Jul-07 6:41 
QuestionRe: Different Output Pin
David Crow18-Jul-07 7:34
David Crow18-Jul-07 7:34 
AnswerRe: Different Output Pin
John R. Shaw18-Jul-07 7:53
John R. Shaw18-Jul-07 7:53 
QuestionReverse Spin Pin
Anorexic Tribble18-Jul-07 1:58
Anorexic Tribble18-Jul-07 1:58 
AnswerRe: Reverse Spin Pin
John R. Shaw18-Jul-07 2:15
John R. Shaw18-Jul-07 2:15 

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.