How to delete the following objects..
TFileName KDirPath;
TFindFile findFiles( iFsSession );
RArray<TEntry> iFileList;
Thanks.
How to delete the following objects..
TFileName KDirPath;
TFindFile findFiles( iFsSession );
RArray<TEntry> iFileList;
Thanks.
T classes used as automatic or member variables (i.e. not allocated with operator new) do not need to deleted explicitly. They are automatically disposed of properly when the stack frame or containing class is freed. By convention, T classes do not own any external resources and never have explicit destructors.
To clean up resources allocated by an RArray, call RArray::Close().
Lauri