On 04/06/15 18:35, Dimitry Sibiryakov wrote:
> Hello, Alex.
>
> I followed you advice and use different declaraions for a routine call and
> implementation. It stopped working now. When I use LocalStatus (or even
> CheckStatusWrapper
> made from this LocalStatus) for calling routine that was declared to accept
> IStatus*, but
> implemented using ChckStatusWrapper*, I'm getting segmentation fail when I
> call
> status->getState() inside of routine.
> Has something changed in this respect recently?
It's hard to say what means recently here - latest big changes were done
approximately a week ago.
I've tried to reproduce your case using
examples/interfaces/02.update.cpp. The only difference is that samples
do not use LocalStatus explicitly, instead the following is used:
st = master->getStatus();
ThrowStatusWrapper status(st);
Later that 'status' is used for all calls, and certainly getState() is
ran too. I see no problems with it. If you send me stack trace of what
happens in your case I hope I can help you better.
A.
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel