Subject Re: [firebird-support] Re: End of Restore notification?
Author Nando Dessena
Woody,
I am replying here as I don't see the other message (yet).

>> What do you mean by "fetching restore information items"? To be
>> connected to the restoring database and counting the restored records?

Fancy, but it's not what I meant. :-)

I pointed you to the FlameRobin code, which is freely available and
shows you how to do it using IBPP. IBPP's code is itself freely
available, so you can hunt down to the straight services API level if
you want.

More direct pointers (watch the wrap):

- RestoreThread::Entry in RestoreFrame.cpp (FR)

http://flamerobin.svn.sourceforge.net/viewvc/flamerobin/trunk/flamerobin/src/gui/RestoreFrame.cpp?view=log

- ServiceImpl::StartRestore and ServiceImpl::WaitMsg in service.cpp
(IBPP)

http://flamerobin.svn.sourceforge.net/viewvc/flamerobin/trunk/flamerobin/src/ibpp/service.cpp?view=log

W> I'm pretty sure that Nando means to use the Verbose option

no, neither that is what I meant. Just query the service until it returns
an empty message.

Ciao
--
Nando Dessena
======================================================
I support Firebird, I am a Firebird Foundation member!
Join today at http://www.firebirdsql.org/ff/foundation
======================================================