Fix mac build

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58154 65644016-39b1-43b1-bf79-96bc8fe82c15
Do not use as GlobalPtr class with ctor which needs context pool (i.e. TLS object)

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58158 65644016-39b1-43b1-bf79-96bc8fe82c15
Fixed one more incorrect GlobalPtr usage

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58160 65644016-39b1-43b1-bf79-96bc8fe82c15
UDR C++ interface and examples improvements.

git-svn-id: svn+ssh://svn.code.sf.net/p/firebird/code/firebird/trunk@58161 65644016-39b1-43b1-bf79-96bc8fe82c15