here is a part of my code that i can't compile.
ScSFTPClient is the component that i placed on the form.
Code: Select all
Scclrclasses::TBytes Handle;
Handle = ScSFTPClient->OpenDirectory("Test");
try
{
do
{
ScSFTPClient->ReadDirectory(Handle);
} while (!(ScSFTPClient->EOF));
__finally {
ScSFTPClient->CloseHandle(Handle);
}
Even if i use the popup list (where you can see all the functions and properties - and the EOF property is displayed there!).
If i use the 'Active' property instead (just for a test) it compiles ok.
Any idea what is wrong? Any help how to solve? Are there any more/better examples/demos written in C++ to check?
thanks
/gw