[lazarus] Plug-in functionality
Hi all, Since Lazarus does not support dynamically loaded DLL's, can anyone offer suggestions for creating a plug in functionality for a Windows/Linux application? Thanks a bunch, -- Warm Regards, Lee _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Plug-in functionality
Lee Jenkins schrieb: Hi all, Since Lazarus does not support dynamically loaded DLL's, can anyone offer suggestions for creating a plug in functionality for a Windows/Linux application? Why you think it dont support dynamically loaded dlls ? I work for years with them and fpc/lazarus... _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Plug-in functionality
Christian Ulrich wrote: Lee Jenkins schrieb: Hi all, Since Lazarus does not support dynamically loaded DLL's, can anyone offer suggestions for creating a plug in functionality for a Windows/Linux application? Why you think it dont support dynamically loaded dlls ? I work for years with them and fpc/lazarus... That may be my mistake then Christian. I thought I read that somewhere, I've never tried it. Nonetheless, that is good news. -- Warm Regards, Lee _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Plug-in functionality
On 4/18/07, Lee Jenkins <[EMAIL PROTECTED]> wrote: That may be my mistake then Christian. I thought I read that somewhere, I've never tried it. Nonetheless, that is good news. What doesn´t work on Free Pascal is creating a dll that exports classes, like for example building the full fpc runtime library into a DLL. Exporting normal functions works ok. For a common software it´s almost always enouth to write a procedural interface, so that is what I recomend. I read something about this being solved or partially solved on 2.2 -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Plug-in functionality
On 18/04/07, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: On 4/18/07, Lee Jenkins <[EMAIL PROTECTED]> wrote: > That may be my mistake then Christian. I thought I read that somewhere, > I've never tried it. Nonetheless, that is good news. What doesn´t work on Free Pascal is creating a dll that exports classes, like for example building the full fpc runtime library into a DLL. Exporting normal functions works ok. yes, dlls do work with lazarus. however, i've had a problem recently (when using wince dlls) that lazarus wouldn't find them. i think the problem was that lazarus was trying to look for static libs. the only way i could fix it was to add -sh to the options and edit the ppas.bat file (adding -l right at the end of the arm-wince-ld command line). that was strange, but usually it Just Works. henry _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Plug-in functionality
Felipe Monteiro de Carvalho wrote: On 4/18/07, Lee Jenkins <[EMAIL PROTECTED]> wrote: That may be my mistake then Christian. I thought I read that somewhere, I've never tried it. Nonetheless, that is good news. What doesn´t work on Free Pascal is creating a dll that exports classes, like for example building the full fpc runtime library into a DLL. Exporting normal functions works ok. For a common software it´s almost always enouth to write a procedural interface, so that is what I recomend. I read something about this being solved or partially solved on 2.2 Thanks Felipe. -- Warm Regards, Lee _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives