title: Writing C++ Builder/Delphi component and save a binary property to DFM files
body: <p>I wrote a C++ builder component to display SVG files perform some stuff on them.</p>
  
  <p>For now, I published a property named SvgFile (UnicodeString) which can be initialized in the IDE with the file name of the SVG file. This works fine. This property is saved into the DFM file and can be reloaded from it. </p>
  
  <p>But I have to provide the SVG file with the application so I would like to save the SVG into the DFM file, as it is done with a TImage component.</p>
  
  <p>I guess I have to write a TPropertyEditor and maybe a TPersistent class but I don't know what to do.</p>
  
  <p>Does anyone could help me to do so ?</p>
  
  <p>Edit 2013/01/17: here's a solution <a href="http://www.informit.com/articles/article.aspx?p=28278&amp;seqNum=5" rel="nofollow">http://www.informit.com/articles/article.aspx?p=28278&amp;seqNum=5</a></p>
  
  <p>Thanks for your help.</p>