Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Problem with FindNextFile order

Problem with FindNextFile order

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    raner
    wrote on last edited by
    #1

    Hi I'm using FindNextFile() to extract file.Problem is i need to extract them in numerical order.I had ordered them proper through Windows explorer, but it seems that FindNextFile() doesnt retrieve the files in that order. Is it not supposed to retrieve the files in order? Is there any way i can retrieve the files in order? thks

    C M 2 Replies Last reply
    0
    • R raner

      Hi I'm using FindNextFile() to extract file.Problem is i need to extract them in numerical order.I had ordered them proper through Windows explorer, but it seems that FindNextFile() doesnt retrieve the files in that order. Is it not supposed to retrieve the files in order? Is there any way i can retrieve the files in order? thks

      C Offline
      C Offline
      Chris Losinger
      wrote on last edited by
      #2

      raner wrote: Is there any way i can retrieve the files in order? no. you will have to sort the files yourself. -c


      When history comes, it always takes you by surprise.

      Fractals

      1 Reply Last reply
      0
      • R raner

        Hi I'm using FindNextFile() to extract file.Problem is i need to extract them in numerical order.I had ordered them proper through Windows explorer, but it seems that FindNextFile() doesnt retrieve the files in that order. Is it not supposed to retrieve the files in order? Is there any way i can retrieve the files in order? thks

        M Offline
        M Offline
        Mike Nordell
        wrote on last edited by
        #3

        raner wrote: Is it not supposed to retrieve the files in order? Yes, but the order is completely dependent on what the underlying filesystem defines it to be.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups