Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   API to access dir structure in Windows (http://www.go4expert.com/forums/api-access-dir-structure-windows-t776/)

anmolgrad 2May2006 23:01

API to access dir structure in Windows
 
i've to access the directory structure of the clients machine (on windows platform)..... to perform follow:
1) Save a file in the browsed directory
2)Search a file

plz tel me an appropriate API

shabbir 3May2006 18:24

Re: API to access dir structure in Windows
 
For saving a file all you need to be doing is Plain C method of creating a file will do

for searching you need to be using the FindFirstFile API and it will return you WIN32_FIND_DATA through which you can get the type of object found (Folder File) and browse the folder.


All times are GMT +5.5. The time now is 00:01.