MethodToProcedure, Linux

delphi package - madRes, madTools, madStrings, ...
Post Reply
Gronfi
Posts: 3
Joined: Fri Jan 12, 2024 1:32 pm

MethodToProcedure, Linux

Post by Gronfi »

Hi!
is there a version of MethodToProcedure for Linux?
if no, any idea about what to check (info, ...) in order to achieve this?
Thanks in advance
madshi
Site Admin
Posts: 10785
Joined: Sun Mar 21, 2004 5:25 pm

Re: MethodToProcedure, Linux

Post by madshi »

I'm sorry, I've no experience with Linux.
Gronfi
Posts: 3
Joined: Fri Jan 12, 2024 1:32 pm

Re: MethodToProcedure, Linux

Post by Gronfi »

Do you mind if I share this function with other people in order to achieve this functionality in Linux? Maybe I don’t get it working but if so and you let us do it, I’ll share here the results.
madshi
Site Admin
Posts: 10785
Joined: Sun Mar 21, 2004 5:25 pm

Re: MethodToProcedure, Linux

Post by madshi »

That's fine, I don't mind.
Gronfi
Posts: 3
Joined: Fri Jan 12, 2024 1:32 pm

Re: MethodToProcedure, Linux

Post by Gronfi »

Wow, I got it with the help of the IAs (you.com). I'm using the function for callbacks of C dll's, so they can be referenced to the object that is wrapping the calls. I'm porting an open-source C mqtt client (eclipse paho version) to Delphi (making the wrappers, that I'll make public when they are ready), and if you don't mind I will include this function in it, and I will make reference to you. Let me know what you think

PD: when I test a little more the function I will publish here ok?
madshi
Site Admin
Posts: 10785
Joined: Sun Mar 21, 2004 5:25 pm

Re: MethodToProcedure, Linux

Post by madshi »

Sure.
Post Reply