Utiliza recursos.
Extracto de un mensaje donde se explica el proceso...
//-------------------------------------------------------
You can store any kind of file as a RCDATA resource.
The following example shows this with an RTF file.
Load RTF file from resource:
Create a file textres.rc:
TESTDOC RCDATA "textdoc.rtf"
Compile this with brcc32 to textres.res.
Include it into your project with an {$R textres.res} line.
Use it similar to this method.
Código Delphi
[-]
procedure TForm1.Button2Click(Sender: TObject);
var
rs: TResourceStream;
Begin
rs := TResourceStream.Create( hinstance, 'TESTDOC', RT_
Código Delphi
[-]RCDATA );
try
richedit1.plaintext :=false;
richedit1.lines.loadfromstream(rs);
finally
rs.free;
end;
end;
//-------------------------------------------------------