2016-01-15 14:08 GMT+01:00 Martin Schreiber <[email protected]>:

>
>
> tfbservice.onasyncend does not run in main thread. The main thread is in a
> locked state, so it is possible to use the gui-elements of an application
> in
> onasyncend but because of a Windows restriction it is not possible to
> create
> windows which showmessage does -> deadlock. Because of consistency I
> implemented the restriction on Linux too.
> Please use for example:
> "
> procedure tmainfo.dofinalizado(const sender: tfbservice;
>                const aborted: Boolean);
> begin
>  guibeep();
> // showmessage('Done...');
> end;
> "
>

I see.


> I'll add an end event which runs in main thread.
>

This will be good.


BTW, the service is cancelled client side (in the program) but server
continues executing it. In fact database is restored ok. So seems something
is not working as expected (or running service can't be stopped once you
run it).


Does nback work for you?
>
>
nback does the copy but once it finishes fires an exception:

#0  08058B92 :0 fpc_unicodestr_decr_ref()
#1  00000000 :0 ??()

Attached updated example/test  project with changes...


-- 
Julio Jiménez Borreguero

Attachment: TestBackup.7z
Description: application/7z-compressed

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to