Thread: how to compile psqlodbc.dll on windows?

how to compile psqlodbc.dll on windows?

From
doggie tame
Date:
hi,

i downloaded psqlodbc package
psqlodbc-08.00.0102.tar.gz and tried to build it on
windows. i did exactly what the readme said and,
however, got tons of errors such as

psqlodbc.h(326) : error C2143: syntax error : missing
')' before '*'

which due to SQLWCHAR is not defined in msvc's
sqltypes.h.

According to the readme file, msvc 4.0+ should be O.K.
I use msvc++ 4.2 enterprise edtion, any ideas?

thank you very much.


===========
tame doggie



__________________________________
Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs

Re: how to compile psqlodbc.dll on windows?

From
"Dave Page"
Date:

-----Original Message-----
From: "doggie tame"<tame_doggie@yahoo.com>
Sent: 13/10/05 19:02:32
To: "pgsql-odbc@postgresql.org"<pgsql-odbc@postgresql.org>
Subject: [ODBC] how to compile psqlodbc.dll on windows?

> I use msvc++ 4.2 enterprise edtion, any > ideas?

Sounds like 4.2 doesn't know about Unicode :-(. We use 6.0 or above.

You could try building the Ansi driver, hopefully /all/  the unicode bits will be #ifdef'ed out in that build.

Regards, Dave