|
From: Matthew B. <mb...@ky...> - 2002-07-24 15:35:51
|
Got it! Please forgive the extreme "brainstorm" style of this
message...
The filename is one character too long, by VFSHelper's reckoning. The
path is:
/Palm/Backup/Awakening of a Vampire.pd{EURO symbol}
Ohi. I guess I need to add a test to the StrCopies... I'm re-building
and testing. Either that or the last character is being corrupted
somehow. That's more likely. Hmm...
CurrentDirectory = "/Palm/Backup";
file->name = "Awakening of a Vampire";
PathLength = StrLen(CurrentDirectory) + StrLen(file->name) + 4;
Path = CurrentDirectory + "/" + FileName + ".pdb";
The culprit is in the +4... needs to be +5 :D However, now it crashes
elsewhere...
/Palm/Backup/AddressStatesDB.pdb{EURO symbol}
Ah! NULL terminator... *slaps forehead* I guess I should release pre3
soon, eh?
--
Matthew (Darkstorm) Bevan mb...@ma...
Margin Software, NECTI. http://www.marginsoftware.com
Re-inventing the wheel, every time.
- A journey of a thousand miles begins with a cash advance.
|