Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing Windows API functions from Delphi

Status
Not open for further replies.

CrazyScorpion

Programmer
Jul 2, 2010
5
0
0
US
I need to know how to:

create / delete directories (folders) with the Windows API from Delphi.

create / delete / move files with the Windows API

Of course, I prefer to do all this within the Delphi IDE, but I cannot find the commands to do so within the help file.

BTW, I'm using Delphi 4 standard.

If you don't know how to do it within Delphi, then the command that allows Delphi to access the Windows API will suffice.
 
These are mainly in System and SysUtils if you are looking for the "Delphi way", and any reference will describe these, including the Object Pascal help that exists within Delphi ("Input and Output" is a good candidate to start in). If you are looking for the Win32 API way, look at the WIN32.HLP subsection "Files".

If you have more specific questions, please ask them.

It is not possible for anyone to acknowledge truth when their salary depends on them not doing it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top