I try to develop an application with Carbide.c++ which must access files. So I simply used the RFile / RFs method but after building my project, there are some problems I can't solve. Here's a sample of the code (it's very simple) :
I don't think there's an error in my code but Carbide displays some errors :
TInt err=file.Open (fsSession,KWorksDataFile,EFileStreamText|EFileWrite|EFileShareAny);
I read a lot of things about this on Internet like include the efsrv.lib library or include f32file.h in the project. I tried everything but the errors are always there... I begin with Carbide and perhaps that I did something wrong.
Undefined Symbol: 'int RFs::Connect(int) (?Connect@RFs@@QAEHH@Z)' ...
Undefined Symbol: 'int RFile::Open(class RFs &,class TDesC16 const &, unsigned int) (?Open@RFile...
Hope leaves. Please help
PS : And sorry for my approximative english. I hope you'll understand what I say.