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.
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).
On Friday 08 September 2017 19:39:42 fredvs wrote:
> 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.
I don't think that the basic libraries which are needed in order to run any
MSEgui application (libc, libm, libpthread, libX11...) should be loaded by
dlopen()/dlsym(). I exclusively use dlopen()/dlsym() for libraries which are
Free Pascal should allow to define the SONAME source in binding unit - using
dlopen()/dlsym() instead is a hack IMHO.
On Sunday 10 September 2017 02:51:36 fredvs wrote:
> Re-re-re hello Martin.
> OK, capito, the crash was because I used the debugger (it is to hard for
> him to deal with audio programs with lot of dsp).
> Without debugger --> works like charm.
> Many thanks.
> I will use your tips for the next piece of StrumPract: the recorder.
On Sunday 10 September 2017 14:28:23 fredvs wrote:
> Re-re-re hello Martin.
> Aaargh, I monopolize you forum, sorry.
> About problem of previous mail (load strumpract with a status.sta).
> After some more test, no good news. It still appends, even after reboot,
> let say 1 times on 3.
> To resume if open strumpract and close it, and reopen it, 1 time on 3, the
> docking is not ok.
Why do you store layout information in statfile although you set the position,
size and dock parent in code? Please clear the statfile property of the forms
other than mainfo.