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. How to get size of file ???????

How to get size of file ???????

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
5 Posts 4 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.
  • V Offline
    V Offline
    VikramDelhi i
    wrote on last edited by
    #1

    Hi Do anyone know how to get the size of any file in win32 system using APIs.:confused: thanks

    G T T V 4 Replies Last reply
    0
    • V VikramDelhi i

      Hi Do anyone know how to get the size of any file in win32 system using APIs.:confused: thanks

      G Offline
      G Offline
      Graham Bradshaw
      wrote on last edited by
      #2

      Use _stat64

      1 Reply Last reply
      0
      • V VikramDelhi i

        Hi Do anyone know how to get the size of any file in win32 system using APIs.:confused: thanks

        T Offline
        T Offline
        Tim Smith
        wrote on last edited by
        #3

        GetFileSize if you want to stick to Win32. Tim Smith I'm going to patent thought. I have yet to see any prior art.

        1 Reply Last reply
        0
        • V VikramDelhi i

          Hi Do anyone know how to get the size of any file in win32 system using APIs.:confused: thanks

          T Offline
          T Offline
          ThatsAlok
          wrote on last edited by
          #4

          vikramdelhi wrote:

          Do anyone know how to get the size of any file in win32 system using APIs.

          if you tring to open Big file, try GetFileSizeEx

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          cheers, Alok Gupta VC Forum Q&A :- I/ IV

          1 Reply Last reply
          0
          • V VikramDelhi i

            Hi Do anyone know how to get the size of any file in win32 system using APIs.:confused: thanks

            V Offline
            V Offline
            VikramDelhi i
            wrote on last edited by
            #5

            hi thanks a lot guys.:) you all are really nice guys.:-D

            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