On 02/12/2011 14:49, Pierre Y. wrote: >>> I advanced a bit more with this new API but I just absolutely don't >>> see how to deal with FbMessage. What is it ? How do I have to use it >>> to access (or send ?) data ? >>> >>> >> https://github.com/asfernandes/fbstuff/blob/master/src/test/v3api/StaticMessageTest.cpp > Thank you Adriano. I think I understood the concept, for now, it is > necesseary to derive FbMessage and create static structures to map the > input parameters and the output parameters. > > But... it seems to be very complex, can you explain why do you have to > generate BLR code at several places ? What is actually in FbMessage > returned by attachment->execute(...&out) ? > > Many thanks for your help, I really want to understand. > > The thing is that this is how Firebird really always worked at the provider level.
What this example show us: 1) It's easy to construct messages of know format with macros. It's still not completely elegant, so if anyone has a suggestion... 2) It's possible to construct dynamic messages, but we should improve this. Adriano ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel