i try to get the filesize of running .exe applications for a Taskmanager App.
When i execute:
TInt fileSize = entry.iSize;
i get a "unable to execute file for security reasons" error.
I guess this error is because the exe is running. Or is it because the files is in /sys/bin/ ??
I have no AllFiles capability.
then i tried wiki example to get filesize with RFile
I dont understand the example?_LIT(KFileSpec,"C:\\Test.txt");
HBufC8* buffer = HBufC8::NewLC(Size);
TPtr8 ptr= buffer->Des();
CleanupStack::PopAndDestroy(&fs); // destroy fs
where can i define my TInt filesize = ... ??
would be nice if someone could help here.