Re: [fpc-pascal] Reading resources

2015-07-21 Thread Bart
Wen I use the resexplorer example on other executables that are not built with Lazarus, I do get proper TBitmapResources (and clicking on the item displays the image). To me this indicates that the resources in Lazarus-built pograms are not stored with the proper "attribute" (?) inside the executa

Re: [fpc-pascal] Reading resources

2015-07-19 Thread Bart
On 7/19/15, Juha Manninen wrote: > This ResExplorer would be a good starting > point if only it worked. A bit off-topic, but you noticed the spurious memory leaks in the example program? Heap dump by heaptrc unit 9055 memory blocks allocated : 2926212/2955096 8023 memory blocks freed : 2901

[fpc-pascal] Reading resources

2015-07-19 Thread Juha Manninen
Lazarus examples folder has an application ResExplorer made by Alexey Lagunov. It does not work well, images and other resource contents are not shown. Only the resource name shows correctly. It uses FPC resource classes. How to use them properly? I am testing now with FPC trunk but 2.6.4 works the