HomeMichel Terrisse
Michel Terrisse
Member since: Friday, 19 June 2015
Last login: 6 years ago
Profile viewed: 680 views

Your Rank: 91
Points: 3
Michel Terrisse replied to the topic 'How can I generate a loadable module for macOS?' in the forum.
6 years ago
No answer, this probably means you can't :(
Michel Terrisse
Read More...
Michel Terrisse created a new topic ' How can I generate a loadable module for macOS?' in the forum.
6 years ago
Hello,
I produced a shared library for macOS (.dylib) using Delphi 10.2 Tokyo but I can't use it from a Delphi program:
- LoadLibrary is successful
- GetProcAddress fails
I first thought that the names of the exported routines were wrong, but they are not, I could check this with objdump -t
I know that on macOS there is a difference between Shared Libraries (.dylib) and Loadable Modules (.so or .bundle), see for example docstore.mik.ua/orelly/unix3/mac/ch05_03.htm
This suggests that I should use a loadable module instead of a shared library. But how can I generate a loadable module with Delphi?
Regards,
Michel Terrisse
Read More...
Basic Information
-
Gender
Male -
Birth Date
1968-11-14 -
About me
Software engineer
Contact Information
-
Address
Index Education
10 rue Marc Donadille - Secteur Baronne
13013 Marseille -
City / Town
Marseille -
Country
France -
Website
http://www.index-education.com/