Em 20/06/2016 17:14, Jiří Činčura escreveu: >> There is FB_MESSAGE macro - look at sample 06.fb_message.cpp. > > Wow. Amesome. Thanks. > > And I have no idea what that does. Given my lack of knowledge of C++ > magic, I'm completely confused. :) What happened to simple C code that > was the same last hundred years? >
New API uses message buffers as well the old non-SQLDA-based API does. setString, setInt could be added as utility/helper interfaces, but anyway will not be in older versions. I pointed you to the FB/Java Java code, it's not difficult to understand for .NET devs. You can also see that https://github.com/asfernandes/fbstuff/tree/master/src/test/v3api It's really not much different than SQLDA the way you should read/write data in buffers. You just need to construct correct descriptors. And IMetadataBuilder helps you on that. FB_MESSAGE makes it easy *to use*, not to *understand* the API. Adriano ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel