I know under windows I can use dlls with fpc. And I know under linux I can link C libraries... But... Is it possible to use a dll under linux?
Mailing lists / fpc-devel / 2002-01
dll
4 messages · 2 people · –
- AAlejandro Néstor Vargas 2
- PPeter Vreman 2
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
you wroteI know under windows I can use dlls with fpc. And I know under linux I can link C libraries... But... Is it possible to use a dll under linux?
shared libraries are the dlls under linux
Peter
Peter Vreman dijo:
Show quoted text 5 lines
Yes, I know, but what I wanted to do is to use a windows dll in a linux binary. I know it can be done in C using wine libraries (in ex. mplayer that uses windows codecs). FreePascal is a stand alone compiler, then, I think it may be possible to add to it the functionality of loading windows dlls (if it is not yet implemented). Because it actually do it under windows, it may be possible to do it under linux too... or not?
Show quoted text 11 lines
window> s
dlls (if it is not yet implemented). Because it actually do it under windows, it may be possible to do it under linux too... or not?
FPC does not load the dlls itself. It is windows that takes care of it. But it should imho be possible to link with wine and use the dll using wine routines. But how this need to be done is unknown for me.
