Difference between revisions of "lazres"
From Free Pascal wiki
Jump to navigationJump to search (Created page with "'''lazres''' is a lazarus resource tool to create and convert .lrs and .res files. Lazres can be found as <tt><root>/lazarus/tools/lazres.lpi</tt> and needs to be compiled. ...") |
|||
Line 6: | Line 6: | ||
lazres resourcefilename @filelist | lazres resourcefilename @filelist | ||
+ | To create a resource file MYRES.RES with two .png graphics files use: | ||
+ | lazres MYRES.RES MyPng1.png=TIMG1 MyPng2.png=TIMG1 | ||
+ | |||
+ | |||
+ | MyPng1.png ResourceName='TIMG1' Type=RT_RCDATA | ||
+ | MyPng2.png ResourceName='TIMG2' Type=RT_RCDATA | ||
[[Category:Tools]] | [[Category:Tools]] |
Revision as of 16:48, 9 May 2015
lazres is a lazarus resource tool to create and convert .lrs and .res files.
Lazres can be found as <root>/lazarus/tools/lazres.lpi and needs to be compiled.
Usage: lazres resourcefilename filename1[=resname1] [filename2[=resname2] ... filenameN=resname[N]] lazres resourcefilename @filelist
To create a resource file MYRES.RES with two .png graphics files use:
lazres MYRES.RES MyPng1.png=TIMG1 MyPng2.png=TIMG1
MyPng1.png ResourceName='TIMG1' Type=RT_RCDATA MyPng2.png ResourceName='TIMG2' Type=RT_RCDATA