Hi All.
I want to change some code, but lack of knowledge!
Here is what is described:
' If you open multiple directories, you can reuse the same FCompletionPort, simply
specify a different cookie for each dir.'
Which refers to below, but I cannot suss out what he means by cookie. Can anyone
suggest how to add another directory (multiple directories) please:
FDirectoryHandle := CreateFile(PChar('H:\'),
FILE_LIST_DIRECTORY,
FILE_SHARE_READ or FILE_SHARE_WRITE or FILE_SHARE_DELETE,
nil,
OPEN_EXISTING,
FILE_FLAG_BACKUP_SEMANTICS or FILE_FLAG_OVERLAPPED,
0);
FCompletionPort := CreateIoCompletionPort(FDirectoryHandle, 0,
Longint(pointer(self)), 0);
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/