Click here to Skip to main content
15,887,836 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Why the type conversion is needed? Pin
Cedric Moonen9-Oct-07 21:44
Cedric Moonen9-Oct-07 21:44 
GeneralRe: Why the type conversion is needed? Pin
LiYS9-Oct-07 22:06
LiYS9-Oct-07 22:06 
AnswerRe: Why the type conversion is needed? Pin
Naveen9-Oct-07 21:48
Naveen9-Oct-07 21:48 
GeneralRe: Why the type conversion is needed? Pin
LiYS9-Oct-07 22:06
LiYS9-Oct-07 22:06 
QuestionInternetFindNextFile function falis Pin
onlyjaypatel9-Oct-07 19:50
onlyjaypatel9-Oct-07 19:50 
QuestionRe: InternetFindNextFile function falis Pin
David Crow10-Oct-07 2:57
David Crow10-Oct-07 2:57 
AnswerRe: InternetFindNextFile function falis Pin
onlyjaypatel10-Oct-07 19:11
onlyjaypatel10-Oct-07 19:11 
GeneralRe: InternetFindNextFile function falis Pin
David Crow11-Oct-07 2:52
David Crow11-Oct-07 2:52 
Your code snippet is next to impossible to read. I can't tell what you've got commented out and what's actual code. Please reformat it AND make use of the <pre> tags.

You need something similar to:

HINTERNET hOpen = InternetOpen(...);
if (hOpen != NULL)
{
    HINTERNET hConnect = InternetConnect(hOpen, ...);
    if (hConnect != NULL)
    {
        WIN32_FIND_DATA findData;
        
        HINTERNET hFind = FtpFindFirstFile(hConnect, NULL, &findData, ...);
        if (hFind != NULL)
        {
            do
            {
                ...
            } while (InternetFindNextFile(hFind, &findData))
        }
    }
}



"A good athlete is the result of a good and worthy opponent." - David Crow

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


GeneralRe: InternetFindNextFile function falis Pin
onlyjaypatel16-Oct-07 20:53
onlyjaypatel16-Oct-07 20:53 
QuestionWhere is the first data location in Monochrome BMP image? Pin
Mohammad Khodaea9-Oct-07 19:24
Mohammad Khodaea9-Oct-07 19:24 
AnswerRe: Where is the first data location in Monochrome BMP image? Pin
Nishad S9-Oct-07 19:48
Nishad S9-Oct-07 19:48 
AnswerRe: Where is the first data location in Monochrome BMP image? Pin
Mark Salsbery10-Oct-07 6:19
Mark Salsbery10-Oct-07 6:19 
QuestionRead stream of bytes in a buffer as a String [modified] Pin
CodingLover9-Oct-07 18:40
CodingLover9-Oct-07 18:40 
AnswerRe: Read stream of bytes in a buffer as a String Pin
chandu0049-Oct-07 18:57
chandu0049-Oct-07 18:57 
GeneralRe: Read stream of bytes in a buffer as a String [modified] Pin
CodingLover9-Oct-07 19:05
CodingLover9-Oct-07 19:05 
GeneralRe: Read stream of bytes in a buffer as a String Pin
chandu0049-Oct-07 19:17
chandu0049-Oct-07 19:17 
GeneralRe: Read stream of bytes in a buffer as a String Pin
CodingLover9-Oct-07 19:28
CodingLover9-Oct-07 19:28 
GeneralRe: Read stream of bytes in a buffer as a String Pin
ktm TechMan9-Oct-07 20:56
ktm TechMan9-Oct-07 20:56 
GeneralRe: Read stream of bytes in a buffer as a String Pin
CodingLover9-Oct-07 21:05
CodingLover9-Oct-07 21:05 
GeneralRe: Read stream of bytes in a buffer as a String Pin
chandu00410-Oct-07 0:22
chandu00410-Oct-07 0:22 
QuestionRe: Read stream of bytes in a buffer as a String Pin
David Crow10-Oct-07 2:56
David Crow10-Oct-07 2:56 
AnswerRe: Read stream of bytes in a buffer as a String Pin
CodingLover10-Oct-07 19:16
CodingLover10-Oct-07 19:16 
QuestionRe: Read stream of bytes in a buffer as a String Pin
David Crow11-Oct-07 3:04
David Crow11-Oct-07 3:04 
AnswerRe: Read stream of bytes in a buffer as a String Pin
CodingLover11-Oct-07 17:48
CodingLover11-Oct-07 17:48 
GeneralRe: Read stream of bytes in a buffer as a String Pin
David Crow12-Oct-07 3:24
David Crow12-Oct-07 3:24 

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.