Just solved it... the problem was my FileStream database had the same name as the destination database. (The filestream and the pdb file were both named LTSC.pdb.) I changed the code that created the FileStream in the first place to use a different file name, and everything started working.Writing is apparently done in ExgDbRead(), as what you intend to do is to duplicate a (stream) database. I never used ExgDbRead, so just by looking briefly into the function description (which is not particularly clear) and into OS sources I would say there is a potential conflict in that the db is by default copied to itself. It is up to you how you handle it in the MyDelDBProc.
Thanks for all your responses, it did help me by forcing me to look at other parts of the code other than where I "thought" the problem was... we all need a kick in the complacency sometimes. :)
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
