Forum > Windows CE
Read / Write Operation under Windows CE
kickbit:
Hello!
I have build a small application for my WinCE device. The App is working fine, but now I want to read / write to a textfile on the SD card inside my system.
I tried to use AssignFile, Reset,Write,Writeln,... but it doesn't work. The app hangs after such operation.
Has anyone an idea and can help me with that?
Thanks in advance
K.F.
theo:
Almost impossible to say without information. ;-)
Have you tried using a StringList instead?
like:
--- Code: ---var sl:TStringList;
begin
sl:=TStringList.Create;
sl.LoadFromFile('AFileName');
sl.SaveToFile('AnotherFileName');
sl.free;
end;
--- End code ---
Or Memo1.Lines.LoadFromFile(..);
kickbit:
Hello!
Yes, I have tried both examples, and both didn't work.
What infos do you need which could help solving this problem?
I really have no idea why this doesn't work and haven't found a tip in the internet.
Can you help?
Best regards
Kay Foerster
theo:
--- Quote from: kickbit on January 26, 2010, 02:58:34 pm ---Can you help?
--- End quote ---
I don't think so. I'm not an expert for WinCE
Zaher:
Try to add the full path to your filename because Wince have no currect directory.
Navigation
[0] Message Index
[#] Next page