Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2015-04

win-like resources from SO under Linux

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt
to Anton
Anton wrote 8 lines
Dear FPC-All! Can anybody review the patch - http://bugs.freepascal.org/view.php?id=17805 Patch provides access to the win-like resources in .SO as soon: 1. dynlibs manager working (otherwise it falls back to the own module). 2. Module exports its resource header as 'rsrc' or 'FPC_RESLOCATION' public.

As you can see in the bug tracker, I have assigned the patch to myself. This means I am working on it, please be patient.

Michael.

Reply by email

Alfred
to Michael Van Canneyt

Thanks for your answer Steve !

But now I have the problem that I cannot parse the RTTI anymore. I fail to get the logic:

This is written as paracount:
current_asmdata.asmlists[al_rtti].concat(Tai_const.Create_8bit(def.maxparacount
+ 1));

This is used for the param-loop:
for k:=0 to def.paras.count-1 do

When parsing an interface function through RTTI, this gives me an extra $result in some cases, but not in all cases. Paracount and loop-count (may) differ.

Could you please explain how to handle this in my software ?

Thanks.

Reply by email