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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. size of buffer for OpenFileName Dlg?

size of buffer for OpenFileName Dlg?

Scheduled Pinned Locked Moved C / C++ / MFC
question
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.
  • N Offline
    N Offline
    nm_114
    wrote on last edited by
    #1

    What is a good size for a buffer with the multi-select option for the OpenFileName Dlg? Right now it is 0x7FFF. Too much? Too little? - thanks

    PJ ArendsP D 2 Replies Last reply
    0
    • N nm_114

      What is a good size for a buffer with the multi-select option for the OpenFileName Dlg? Right now it is 0x7FFF. Too much? Too little? - thanks

      PJ ArendsP Offline
      PJ ArendsP Offline
      PJ Arends
      wrote on last edited by
      #2

      http://www.codeproject.com/dialog/pja_multiselect.asp[^]


      You may be right I may be crazy But it just may be a lunatic you’re looking for -- Billy Joel -- Within you lies the power for good - Use it!

      Within you lies the power for good; Use it!

      1 Reply Last reply
      0
      • N nm_114

        What is a good size for a buffer with the multi-select option for the OpenFileName Dlg? Right now it is 0x7FFF. Too much? Too little? - thanks

        D Offline
        D Offline
        David Crow
        wrote on last edited by
        #3

        Per MSDN: _Note, when selecting multiple files, the total character limit for the file names depends on the operating system and the version of the function:* Windows 95/98/Me: (only ANSI is supported) no restriction

        • Windows NT4 and earlier: 32k limit_* Windows 2000/XP: (ANSI) 32k limit, (Unicode) no restriction


          "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

          "There is no death, only a change of worlds." - Native American Proverb

        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