On Thu, 03 Jul 2014 13:26:46 +0300, FreeMan <freema...@delphiturkiye.com> wrote:
>
> I add my test project.
>
> 03-07-2014 11:34 tarihinde, Virgo Pärna yazdı:
>>      At which line that error occured?
> TmyCustomXMLPropStorage(XMP).XMLConfig.SaveToStream(st);//error is hear 
> XMLConfig is NIL !!!
>

    From LCL source TCustomXMLPropStorage.StorageNeeded Creates XMLConfig. And 
now I noticed, that TPropStorageXMLConfig indeed has stream methods. So - 
calling 
StorageNeeded before using XMLConfig should work (I have never used that 
component). 
And also remember to seek to beginning before reading from stream. 

-- 
Virgo Pärna 
virgo.pa...@mail.ee


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to