Hello,
I use Lazarus 1.6 64bit with FPC 3.0.0 on Win7home 64bit.
On Lazarus I created a console-applicaton-project and added the following source:
program test_clipboard;
{$APPTYPE CONSOLE}
uses
SysUtils,
Clipbrd, interfaces;
begin
Clipboard.AsText := '10' + #9 +'15' + sLineBreak + '12';
end.
Additionally I added the dependency to LCL and LCLBase. Otherwise the units Clipbrd and interfaces will not be found.
So far so good. The Program is compiled and work with no errors. But the exe-file has a size of 18MB.
Is there a way to compile the code directly from the console to reduce the size of the application?
Thanks
Tobias