Re: [fpc-pascal] DirectoryExists on FreeBSD , problem

2019-10-25 Thread Graeme Geldenhuys
On 14/10/2019 7:38 pm, Alexey Tor. wrote: > >Does SysUtils.DirectoryExists work? > > No, the dir name is pure English, so DirectoryExistsUTF8 does the same. :-) There is no such thing as "pure English". I assume what you were trying to say, is that some text are encoded differently, depending

Re: [fpc-pascal] Dynamic loading to static?

2019-10-25 Thread Ryan Joseph
> On Oct 25, 2019, at 12:02 PM, Michael Van Canneyt > wrote: > > You need to manually change them. > > if you look in the packages, you'll see that many library import units exist > in 2 > flavours. One static, one dynamic. That’s what I was afraid of. btw, I why does ObjFPC mode not

Re: [fpc-pascal] Dynamic loading to static?

2019-10-25 Thread Michael Van Canneyt
On Fri, 25 Oct 2019, Ryan Joseph wrote: Maybe a stupid question but I thought I’d asked before I potentially waste a bunch of time. I have code to dynamically load functions using Dynlibs.LoadLibrary, for example: type _Py_Initialize = procedure; cdecl; _PyImport_ImportModule =

[fpc-pascal] Dynamic loading to static?

2019-10-25 Thread Ryan Joseph
Maybe a stupid question but I thought I’d asked before I potentially waste a bunch of time. I have code to dynamically load functions using Dynlibs.LoadLibrary, for example: type _Py_Initialize = procedure; cdecl; _PyImport_ImportModule = function(module: pchar): PPyObject; cdecl; var