Re: Re: Dynamic vs static linkage

Nick Gorham <[email protected]>
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <[email protected]>
Igor Korot wrote:

>Nick,
>I just looked at the source. The call failing at the line 191 according to the log:
>
>    if ( environment -> requested_version == 0 )
>
>What am I missing?
>
>Thank you.
>  
>

Is it calling SQLALlocEnv or SQLAllocHandle to allocate the environment 
handle?

if its the latter, it needs to call SQLSetEnvAttr to specify ODBC2 or ODBC3

As to why there is a difference between the .a or .so I don't know.

-- 
Nick
_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mail.easysoft.com/mailman/listinfo/unixodbc-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.