Re: [MSEide-MSEgui-talk] MSE and XLib.
Hello Martin. Did you know that you may combine static + dynamic linking? I mean, take the advantage of static linking (adding some infos about the library in ELF, more safe, ...) and take the advantage of dynamic linking (using fast libdl.so library, change name/dir of the lib, etc ...). For example in dynamic X11 header add this: ---> Procedure dummy() ; cdecl; external libX11; Because of the use of "external", fpc will add -lX11 for the linker and then the lib infos in ELF. in link.res ---> INPUT( -ldl -lX11 --> This was added by "external" ) But, like you and I only know, "external" is buggy and will cut the ·so.n· part of libX11. ;-( Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] MSE and docking.
> The size of the main form must be adjusted to the minimal sizes of the docked forms. Huh, it seems to be. > I'll take a look. OK, thanks. Other thing. I was successfully able to translate PThread.h into pascal dynamic loading header: ---> https://github.com/fredvs/dynx It works perfectly for fpGUI (with MSE, I have to adapt code, but sure you will do it better than me ;-)). So the question: Do you thing it could be possible to also dynamic load libdl.so (the library for dynamically load libraries) ? I did the translation of dl.h into pascal dynamic loading header but was not able to do it work. But maybe it is normal that it does not work because libdl.so needs ... libdl.so to dynamic load it self. And so maybe the only working way is to do static linking for libdl.so. (Once again, something difficult to explain, I hope you did understand). Thanks. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
Re: [MSEide-MSEgui-talk] MSE and docking.
On Friday 08 September 2017 15:21:42 fredvs wrote: > Hello Martin. > > I have some trouble with myform.dragdock.dockto(). > > Sometimes the forms are not sized as wanted (see video). > > https://sites.google.com/site/fredvsbinaries/mse_dock2.mp4 > The size of the main form must be adjusted to the minimal sizes of the docked forms. I'll take a look. Martin -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk