CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Paul McKenzie

Search: Search took 1.88 seconds.

  1. Replies
    22
    Views
    3,728

    Re: Capturing files in a directory

    What we see in code statically and what the actual flow of the code happens to be are two different things. You have 2 elements because you have 2 elements. That is what you did, and that is what...
  2. Replies
    22
    Views
    3,728

    Re: Capturing files in a directory

    1) You don't check to see if "dir" has any strings (is there really a value at dir[0])? You cannot access dir[0] if dir is an empty vector of strings.

    2) You should not cast away the constness of...
  3. Replies
    22
    Views
    3,728

    Re: Capturing files in a directory

    Where in your code do you need an LPSTR? All I see in your code is to gather the filenames.

    Secondly, StringVector is a vector of CString/std::(wstring). It isn't just one string, so there is...
  4. Replies
    22
    Views
    3,728

    Re: Capturing files in a directory

    First, what is "textArea"?

    Second, you changed "ListFiles". Don't you think it makes a difference we see what this new ListFiles() consists of.

    Third, your code has a lot wrong with it.
    ...
Results 1 to 4 of 4





Click Here to Expand Forum to Full Width

Featured