How to Read Directory Sectors in c/c++

Discussion in 'C++' started by varun.285, Dec 14, 2011.

  1. varun.285

    varun.285 New Member

    Joined:
    Dec 14, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hello,
    I am trying to make a program to Read Directory sectors so that i can get file data,Files which is/are deleted accidentally from a directory.I found lots of sample codes in MFC But i want to do it in core c/c++.

    Please provide me some assistance.I will be very thankful to you.

    Thanks And Regards:
    Varun Bansal,
    varun_285@yahoo.co.in
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    Not possible. Directory structures are - if they exist at all - platform specific, so you will have to use platform specific functions to access them. MFC is one way, or you can hit the WinAPI directly, but you can't do it in "core c/c++" (whatever that means).
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice