Josh,

You can store a resource file on your exe by compiling a resource from
a file via this tool ( http://lazarusbrasil.org/Resources.zip ) and
adding the line {$R ResName.res}  to your project.

Then you can call the resource by name so:

var
  ResStr :TResourceStream;
begin
  ResStr := TResourceStream.Create(hInstance, ResName, ResType);
  try
    ResStr.SaveToFile(FileName');
  finally
    ResStr.Free;
  end;
end;

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to