[unixODBC-dev] szLogPrintf/szMessageBox

Nick Gorham nick at lurcher.org
Mon Dec 29 21:20:02 GMT 2008


Peter Harvey wrote:

>Nick,
>
>I am thinking it may be a good idea to put implementations of
>szLogPrintf and szMessageBox in odbcinst and odbcinstQ4 since we do not
>have a gtrtst library. The idea is to make the implementation of these
>two functions irrelevant to auto test libraries while at the same time
>providing a plugable UI.
>
>One possible problem with this idea is that there may be much
>loading/unloading of the UI plugin (odbcinstQ4) but I think this can be
>adequately addressed by creating an init and fini call for the generic
>window handle (aka SERVERINFO::hwnd) which could handle loading and
>unloading the UI plugin.
>
>What do you think?
>
>Peter
>
>
>  
>
Sounbds ok to me, the loading and unloading might be less of a issue 
than you think, as all the implementations I have seen dont flush after 
a dlclose.

Just one thing, I thought there was the equivilant of the gtrtst lib in 
the tree.

---
Nick


More information about the unixODBC-dev mailing list