Thanks for every one's input and now since I had some sleep, it makes sense lol. The pointer points to a geometry object in the host application. I have a document on how to write such objects to text or binary files. I just thought I could get away with writing an address to such an object, but when I look at the design, there really is no reason to. I only need to write the selectionDataArray to file and that works but even so I still get strange happenings when reading from the file. Well, I'll just start from scratch and see if that works, thanks.
----- Original Message ----- From: "Wilfried Mestdagh" <[EMAIL PROTECTED]> To: "Delphi-Talk Discussion List" <[email protected]> Sent: Friday, October 14, 2005 1:45 AM Subject: Re: help writing a pointer to file > Hello Richard, > >> Hello, what is the best way to write a pointer to file? > > Unless I understeand you wrong there is no sence to write a pointer to a > file since this pointer will shure be invalid after restart of the > program. Also when you load again the pointer from the file within the > same life of the application you are not sure it is still pointing to > same and valid object. > > Is what you wants to do write the data where the pointer points to the > file ? > > --- > Rgds, Wilfried > http://www.mestdagh.biz > > __________________________________________________ > Delphi-Talk mailing list -> [email protected] > http://www.elists.org/mailman/listinfo/delphi-talk > __________________________________________________ Delphi-Talk mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi-talk
